Skip to content

Commit

Permalink
Merge pull request #640 from nickdnk/phpdoc_customer
Browse files Browse the repository at this point in the history
Added phpdocs for tax_rates, fixed Coupon and Subscription
  • Loading branch information
remi-stripe authored Apr 26, 2019
2 parents 564b93b + a804984 commit 5f48aec
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
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
* @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

0 comments on commit 5f48aec

Please sign in to comment.