Skip to content

Commit

Permalink
Merge pull request #431 from nickdnk/master
Browse files Browse the repository at this point in the history
Updated @Property docs to reflect API version 2018-02-05
  • Loading branch information
ob-stripe authored Feb 7, 2018
2 parents db44705 + b2d8189 commit 48410e6
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 41 deletions.
8 changes: 8 additions & 0 deletions lib/CountrySpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
/**
* Class CountrySpec
*
* @property string $id
* @property string $object
* @property string $default_currency
* @property mixed $supported_bank_account_currencies
* @property string[] $supported_payment_currencies
* @property string[] $supported_payment_methods
* @property mixed $verification_fields
*
* @package Stripe
*/
class CountrySpec extends ApiResource
Expand Down
66 changes: 33 additions & 33 deletions lib/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@
/**
* Class Invoice
*
* @property string $id
* @property string $object
* @property int $amount_due
* @property int $application_fee
* @property int $attempt_count
* @property bool $attempted
* @property string $billing
* @property string $charge
* @property bool $closed
* @property string $currency
* @property string $customer
* @property int $date
* @property string $description
* @property mixed $discount
* @property int $due_date
* @property int $ending_balance
* @property bool $forgiven
* @property string $id
* @property string $object
* @property int $amount_due
* @property int $application_fee
* @property int $attempt_count
* @property bool $attempted
* @property string $billing
* @property string $charge
* @property bool $closed
* @property string $currency
* @property string $customer
* @property int $date
* @property string $description
* @property mixed $discount
* @property int $due_date
* @property int $ending_balance
* @property bool $forgiven
* @property Collection $lines
* @property bool $livemode
* @property AttachedObject $metadata
* @property int $next_payment_attempt
* @property string $number
* @property bool $paid
* @property int $period_end
* @property int $period_start
* @property string $receipt_number
* @property int $starting_balance
* @property string $statement_descriptor
* @property string $subscription
* @property int $subscription_proration_date
* @property int $subtotal
* @property int $tax
* @property float $tax_percent
* @property int $total
* @property bool $livemode
* @property AttachedObject $metadata
* @property int $next_payment_attempt
* @property string $number
* @property bool $paid
* @property int $period_end
* @property int $period_start
* @property string $receipt_number
* @property int $starting_balance
* @property string $statement_descriptor
* @property string $subscription
* @property int $subscription_proration_date
* @property int $subtotal
* @property int $tax
* @property float $tax_percent
* @property int $total
* @property int $webhooks_delivered_at
*
* @package Stripe
Expand Down
4 changes: 2 additions & 2 deletions lib/InvoiceItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @property string $invoice
* @property bool $livemode
* @property AttachedObject $metadata
* @property array $period
* @property mixed $plan
* @property mixed $period
* @property Plan $plan
* @property bool $proration
* @property int $quantity
* @property string $subscription
Expand Down
2 changes: 1 addition & 1 deletion lib/Payout.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @property string $failure_code
* @property string $failure_message
* @property bool $livemode
* @property mixed $metadata
* @property AttachedObject $metadata
* @property string $method
* @property string $recipient
* @property string $source_type
Expand Down
4 changes: 2 additions & 2 deletions lib/Plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @property int $interval_count
* @property bool $livemode
* @property AttachedObject $metadata
* @property string $name
* @property string $statement_descriptor
* @property string $nickname
* @property string $product
* @property int $trial_period_days
*/
class Plan extends ApiResource
Expand Down
2 changes: 2 additions & 0 deletions lib/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @property mixed $package_dimensions
* @property bool $shippable
* @property Collection $skus
* @property string $statement_descriptor
* @property string $type
* @property int $updated
* @property string $url
*
Expand Down
2 changes: 1 addition & 1 deletion lib/RecipientTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @property string $failure_code
* @property string $failure_message
* @property bool $livemode
* @property mixed $metadata
* @property AttachedObject $metadata
* @property string $method
* @property string $recipient
* @property mixed $reversals
Expand Down
2 changes: 1 addition & 1 deletion lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @property Collection $items
* @property boolean $livemode
* @property AttachedObject $metadata
* @property mixed $plan
* @property Plan $plan
* @property int $quantity
* @property int $start
* @property string $status
Expand Down
2 changes: 1 addition & 1 deletion lib/SubscriptionItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @property string $object
* @property int $created
* @property AttachedObject $metadata
* @property mixed $plan
* @property Plan $plan
* @property int $quantity
* @property string $subscription
*
Expand Down

0 comments on commit 48410e6

Please sign in to comment.