Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added phpdocs for tax_rates, fixed Coupon and Subscription #640

Merged
merged 1 commit into from
Apr 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Coupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @property int $max_redemptions
* @property StripeObject $metadata
* @property string $name
* @property int $percent_off
* @property float $percent_off
* @property int $redeem_by
* @property int $times_redeemed
* @property bool $valid
Expand Down
3 changes: 2 additions & 1 deletion lib/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @property array $customer_tax_ids
* @property string $default_payment_method
* @property string $default_source
* @property array $default_tax_rates
* @property string $description
* @property Discount $discount
* @property int $due_date
Expand Down Expand Up @@ -58,9 +59,9 @@
* @property int $subscription_proration_date
* @property int $subtotal
* @property int $tax
* @property float $tax_percent
* @property mixed $threshold_reason
nickdnk marked this conversation as resolved.
Show resolved Hide resolved
* @property int $total
* @property array $total_tax_amounts
* @property int $webhooks_delivered_at
*
* @package Stripe
Expand Down
1 change: 1 addition & 0 deletions lib/InvoiceItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @property int $quantity
* @property string $subscription
* @property string $subscription_item
* @property array $tax_rates
* @property int $unit_amount
*
* @package Stripe
Expand Down
2 changes: 2 additions & 0 deletions lib/InvoiceLineItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @property int $quantity
* @property string $subscription
* @property string $subscription_item
* @property array $tax_amounts
* @property array $tax_rates
* @property string $type
*
* @package Stripe
Expand Down
2 changes: 2 additions & 0 deletions lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* @property int $current_period_start
* @property string $customer
* @property int $days_until_due
* @property string $default_payment_method
* @property string $default_source
* @property array $default_tax_rates
* @property Discount $discount
* @property int $ended_at
* @property Collection $items
Expand Down
1 change: 1 addition & 0 deletions lib/SubscriptionItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* @property Plan $plan
* @property int $quantity
* @property string $subscription
* @property array $tax_rates
*
* @package Stripe
*/
Expand Down