From 0ce73ea184c989193c5fb61a2fe849f1c94518b6 Mon Sep 17 00:00:00 2001 From: Olivier Bellone Date: Mon, 6 Jan 2020 17:00:14 -0800 Subject: [PATCH] Update PHPDoc --- lib/BalanceTransaction.php | 1 + lib/BankAccount.php | 2 +- lib/Charge.php | 1 + lib/Checkout/Session.php | 2 ++ lib/Dispute.php | 1 + lib/Issuing/Authorization.php | 1 + lib/Issuing/Cardholder.php | 2 ++ lib/PaymentMethod.php | 1 + lib/Refund.php | 1 + lib/Subscription.php | 1 - lib/Terminal/Location.php | 2 ++ lib/Terminal/Reader.php | 2 ++ 12 files changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php index 44e1b9032..6ee4b9c80 100644 --- a/lib/BalanceTransaction.php +++ b/lib/BalanceTransaction.php @@ -16,6 +16,7 @@ * @property int $fee * @property mixed $fee_details * @property int $net + * @property string $reporting_category * @property string|null $source * @property string $status * @property string $type diff --git a/lib/BankAccount.php b/lib/BankAccount.php index 2f7bb5fb4..bfd01b0c9 100644 --- a/lib/BankAccount.php +++ b/lib/BankAccount.php @@ -12,7 +12,7 @@ * @property string|null $account_holder_type * @property string|null $bank_name * @property string $country - * @property string|null $currency + * @property string $currency * @property string|null $customer * @property bool|null $default_for_currency * @property string|null $fingerprint diff --git a/lib/Charge.php b/lib/Charge.php index dd210606a..f14f27ca4 100644 --- a/lib/Charge.php +++ b/lib/Charge.php @@ -21,6 +21,7 @@ * @property string|null $description * @property string|null $destination * @property string|null $dispute + * @property bool $disputed * @property string|null $failure_code * @property string|null $failure_message * @property mixed|null $fraud_details diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php index e4ee896d8..8cac83f85 100644 --- a/lib/Checkout/Session.php +++ b/lib/Checkout/Session.php @@ -7,12 +7,14 @@ * * @property string $id * @property string $object + * @property string|null $billing_address_collection * @property string $cancel_url * @property string|null $client_reference_id * @property string|null $customer * @property string|null $customer_email * @property mixed|null $display_items * @property bool $livemode + * @property string|null $locale * @property string|null $mode * @property string|null $payment_intent * @property string[] $payment_method_types diff --git a/lib/Dispute.php b/lib/Dispute.php index f79f74b1e..8f7478f2e 100644 --- a/lib/Dispute.php +++ b/lib/Dispute.php @@ -18,6 +18,7 @@ * @property bool $livemode * @property \Stripe\StripeObject $metadata * @property string|null $network_reason_code + * @property string|null $payment_intent * @property string $reason * @property string $status * diff --git a/lib/Issuing/Authorization.php b/lib/Issuing/Authorization.php index b2694b272..6ce2f735e 100644 --- a/lib/Issuing/Authorization.php +++ b/lib/Issuing/Authorization.php @@ -27,6 +27,7 @@ * @property string $status * @property array $transactions * @property mixed $verification_data + * @property string|null $wallet_provider * * @package Stripe\Issuing */ diff --git a/lib/Issuing/Cardholder.php b/lib/Issuing/Cardholder.php index ac514bc12..c444e910f 100644 --- a/lib/Issuing/Cardholder.php +++ b/lib/Issuing/Cardholder.php @@ -9,8 +9,10 @@ * @property string $object * @property mixed|null $authorization_controls * @property mixed $billing + * @property \Stripe\StripeObject|null $company * @property int $created * @property string|null $email + * @property \Stripe\StripeObject|null $individual * @property bool $is_default * @property bool $livemode * @property \Stripe\StripeObject $metadata diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php index 3e875eec3..301541613 100644 --- a/lib/PaymentMethod.php +++ b/lib/PaymentMethod.php @@ -7,6 +7,7 @@ * * @property string $id * @property string $object + * @property mixed|null $au_becs_debit * @property mixed $billing_details * @property mixed $card * @property mixed $card_present diff --git a/lib/Refund.php b/lib/Refund.php index 078f8d4ae..2d37ab895 100644 --- a/lib/Refund.php +++ b/lib/Refund.php @@ -16,6 +16,7 @@ * @property string $failure_balance_transaction * @property string $failure_reason * @property \Stripe\StripeObject $metadata + * @property string|null $payment_intent * @property string|null $reason * @property string|null $receipt_number * @property string|null $source_transfer_reversal diff --git a/lib/Subscription.php b/lib/Subscription.php index 815bc5d89..d9f35ddef 100644 --- a/lib/Subscription.php +++ b/lib/Subscription.php @@ -24,7 +24,6 @@ * @property array|null $default_tax_rates * @property \Stripe\Discount|null $discount * @property int|null $ended_at - * @property mixed $invoice_customer_balance_settings * @property \Stripe\Collection $items * @property string|null $latest_invoice * @property bool $livemode diff --git a/lib/Terminal/Location.php b/lib/Terminal/Location.php index 14a34fd56..416148df4 100644 --- a/lib/Terminal/Location.php +++ b/lib/Terminal/Location.php @@ -9,6 +9,8 @@ * @property string $object * @property mixed $address * @property string $display_name + * @property bool $livemode + * @property \Stripe\StripeObject $metadata * * @package Stripe\Terminal */ diff --git a/lib/Terminal/Reader.php b/lib/Terminal/Reader.php index d82578ada..a536c7a9e 100644 --- a/lib/Terminal/Reader.php +++ b/lib/Terminal/Reader.php @@ -11,7 +11,9 @@ * @property string $device_type * @property string|null $ip_address * @property string $label + * @property bool $livemode * @property string|null $location + * @property \Stripe\StripeObject $metadata * @property string $serial_number * @property string|null $status *