From 409e1c3f9a2e755d7b2fdb0e4a4c6a5130a98bb7 Mon Sep 17 00:00:00 2001 From: Nicolai Cornelis Date: Sun, 13 May 2018 19:52:50 +0200 Subject: [PATCH] Updated phpdocs --- lib/Account.php | 5 ++++- lib/Balance.php | 1 + lib/Customer.php | 1 + lib/Payout.php | 5 +++-- lib/Plan.php | 4 +++- lib/Recipient.php | 15 +++++++++++++++ lib/Token.php | 2 +- 7 files changed, 28 insertions(+), 5 deletions(-) diff --git a/lib/Account.php b/lib/Account.php index d77d60ded..88c01a28a 100644 --- a/lib/Account.php +++ b/lib/Account.php @@ -20,7 +20,7 @@ * @property bool $details_submitted * @property string $display_name * @property string $email - * @property mixed $external_accounts + * @property Collection $external_accounts * @property mixed $legal_entity * @property StripeObject $metadata * @property mixed $payout_schedule @@ -28,10 +28,13 @@ * @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 $tos_acceptance + * @property string $type * @property mixed $verification * * @package Stripe diff --git a/lib/Balance.php b/lib/Balance.php index 115307f84..46e36af6a 100644 --- a/lib/Balance.php +++ b/lib/Balance.php @@ -7,6 +7,7 @@ * * @property string $object * @property array $available + * @property array $connect_reserved * @property bool $livemode * @property array $pending * diff --git a/lib/Customer.php b/lib/Customer.php index 8d31b5ac0..bc9056e6c 100644 --- a/lib/Customer.php +++ b/lib/Customer.php @@ -16,6 +16,7 @@ * @property string $description * @property mixed $discount * @property string $email + * @property string $invoice_prefix * @property bool $livemode * @property StripeObject $metadata * @property mixed $shipping diff --git a/lib/Payout.php b/lib/Payout.php index 0849cae3f..a074f0bd7 100644 --- a/lib/Payout.php +++ b/lib/Payout.php @@ -8,12 +8,13 @@ * @property string $id * @property string $object * @property int $amount + * @property int $arrival_date + * @property bool $automatic * @property string $balance_transaction - * @property string $cancellation_balance_transaction * @property int $created * @property string $currency - * @property int $arrival_date * @property string $destination + * @property string $failure_balance_transaction * @property string $failure_code * @property string $failure_message * @property bool $livemode diff --git a/lib/Plan.php b/lib/Plan.php index 6b670182d..d9defca8d 100644 --- a/lib/Plan.php +++ b/lib/Plan.php @@ -9,6 +9,7 @@ * * @property string $id * @property string $object + * @property string $aggregate_usage * @property int $amount * @property string $billing_scheme * @property int $created @@ -19,8 +20,9 @@ * @property StripeObject $metadata * @property string $nickname * @property string $product - * @property array $tiers + * @property mixed $tiers * @property string $tiers_mode + * @property mixed $transform_usage * @property int $trial_period_days * @property string $usage_type */ diff --git a/lib/Recipient.php b/lib/Recipient.php index 9ec6a1ec8..2d322dcb3 100644 --- a/lib/Recipient.php +++ b/lib/Recipient.php @@ -6,6 +6,21 @@ * Class Recipient * * @package Stripe + * + * @property string $id + * @property string $object + * @property mixed $active_account + * @property Collection $cards + * @property int $created + * @property string $default_card + * @property string $description + * @property string $email + * @property bool $livemode + * @property StripeObject $metadata + * @property string $migrated_to + * @property string $name + * @property string $rolled_back_from + * @property string $type */ class Recipient extends ApiResource { diff --git a/lib/Token.php b/lib/Token.php index fbf19bbf7..4aa238407 100644 --- a/lib/Token.php +++ b/lib/Token.php @@ -8,7 +8,7 @@ * @property string $id * @property string $object * @property mixed $bank_account - * @property mixed $card + * @property Card $card * @property string $client_ip * @property int $created * @property bool $livemode