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

Updated @property docs to reflect API version 2018-02-05 #431

Merged
merged 3 commits into from
Feb 7, 2018
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
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