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

Adjusted phpdocs to match API docs as of 2019-02-25 #601

Merged
merged 1 commit into from
Feb 25, 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
24 changes: 6 additions & 18 deletions lib/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,24 @@
*
* @property string $id
* @property string $object
* @property string $business_logo
* @property string $business_name
* @property string $business_primary_color
* @property string $business_url
* @property mixed $business_profile
* @property string $business_type
* @property mixed $capabilities
* @property bool $charges_enabled
* @property mixed $company
* @property string $country
* @property int $created
* @property bool $debit_negative_balances
* @property mixed $decline_charge_on
* @property string $default_currency
* @property bool $details_submitted
* @property string $display_name
* @property string $email
* @property Collection $external_accounts
* @property mixed $legal_entity
* @property mixed $individual
* @property StripeObject $metadata
* @property mixed $payout_schedule
* @property string $payout_statement_descriptor
* @property bool $payouts_enabled
* @property string $product_description
* @property string $statement_descriptor
* @property mixed $support_address
* @property string $support_email
* @property string $support_phone
* @property string $support_url
* @property string $timezone
* @property mixed $requirements
* @property mixed $settings
* @property mixed $tos_acceptance
* @property string $type
* @property mixed $verification
*
* @package Stripe
*/
Expand Down
2 changes: 2 additions & 0 deletions lib/Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @property string $payment_intent
* @property string $receipt_email
* @property string $receipt_number
* @property string $receipt_url
* @property bool $refunded
* @property Collection $refunds
* @property string $review
Expand All @@ -41,6 +42,7 @@
* @property string $statement_descriptor
* @property string $status
* @property string $transfer
* @property mixed $transfer_data
* @property string $transfer_group
*
* @package Stripe
Expand Down
2 changes: 1 addition & 1 deletion lib/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @property string $id
* @property string $object
* @property int $account_balance
* @property string $business_vat_id
* @property string $created
* @property string $currency
* @property string $default_source
Expand All @@ -17,6 +16,7 @@
* @property Discount $discount
* @property string $email
* @property string $invoice_prefix
* @property mixed $invoice_settings
* @property bool $livemode
* @property StripeObject $metadata
* @property mixed $shipping
Expand Down
243 changes: 123 additions & 120 deletions lib/Event.php

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions lib/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@
* @property string $billing
* @property string $billing_reason
* @property string $charge
* @property int $created
* @property string $currency
* @property mixed $custom_fields
* @property string $customer
* @property int $date
* @property string $default_source
* @property string $description
* @property Discount $discount
* @property int $due_date
* @property int $ending_balance
* @property string $footer
* @property string $hosted_invoice_url
* @property string $invoice_pdf
* @property int $last_payment_attempt
* @property Collection $lines
* @property bool $livemode
* @property StripeObject $metadata
Expand All @@ -40,11 +41,13 @@
* @property int $starting_balance
* @property string $statement_descriptor
* @property string $status
* @property mixed $status_transitions
* @property string $subscription
* @property int $subscription_proration_date
* @property int $subtotal
* @property int $tax
* @property float $tax_percent
* @property mixed $threshold_reason
* @property int $total
* @property int $webhooks_delivered_at
*
Expand Down
3 changes: 1 addition & 2 deletions lib/PaymentIntent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @property int $amount_capturable
* @property int $amount_received
* @property string $application
* @property int $application_fee
* @property int $application_fee_amount
* @property int $canceled_at
* @property string $cancellation_reason
* @property string $capture_method
Expand All @@ -29,7 +29,6 @@
* @property string $on_behalf_of
* @property string[] $payment_method_types
* @property string $receipt_email
* @property string $return_url
* @property string $review
* @property mixed $shipping
* @property string $source
Expand Down
2 changes: 2 additions & 0 deletions lib/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
* @property string $charge
* @property int $created
* @property string $currency
* @property string $description
* @property string $failure_balance_transaction
* @property string $failure_reason
* @property StripeObject $metadata
* @property string $reason
* @property string $receipt_number
* @property string $source_transfer_reversal
* @property string $status
* @property string $transfer_reversal
*
* @package Stripe
*/
Expand Down
8 changes: 7 additions & 1 deletion lib/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@
*
* @property string $id
* @property string $object
* @property string $billing_zip
* @property string $charge
* @property string $closed_reason
* @property int $created
* @property string $ip_address
* @property mixed $ip_address_location
* @property bool $livemode
* @property bool $open
* @property sring $payment_intent
* @property string $opened_reason
* @property string $payment_intent
* @property string $reason
* @property mixed $session
*
* @package Stripe
*/
Expand Down
1 change: 1 addition & 0 deletions lib/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
* @property string $id
* @property string $object
* @property mixed $ach_credit_transfer
* @property int $amount
* @property string $client_secret
* @property mixed $code_verification
Expand Down
2 changes: 2 additions & 0 deletions lib/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* @property float $application_fee_percent
* @property string $billing
* @property int $billing_cycle_anchor
* @property mixed $billing_thresholds
* @property bool $cancel_at_period_end
* @property int $canceled_at
* @property int $created
Expand All @@ -21,6 +22,7 @@
* @property Discount $discount
* @property int $ended_at
* @property Collection $items
* @property string $latest_invoice
* @property boolean $livemode
* @property StripeObject $metadata
* @property Plan $plan
Expand Down
1 change: 1 addition & 0 deletions lib/SubscriptionItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
* @property string $id
* @property string $object
* @property mixed $billing_thresholds
* @property int $created
* @property StripeObject $metadata
* @property Plan $plan
Expand Down