diff --git a/lib/BankAccount.php b/lib/BankAccount.php index 019a4d87c..3fdc9188c 100644 --- a/lib/BankAccount.php +++ b/lib/BankAccount.php @@ -31,6 +31,16 @@ class BankAccount extends ApiResource use ApiOperations\Delete; use ApiOperations\Update; + /** + * Possible string representations of the bank verification status. + * @link https://stripe.com/docs/api/external_account_bank_accounts/object#account_bank_account_object-status + */ + const STATUS_NEW = 'new'; + const STATUS_VALIDATED = 'validated'; + const STATUS_VERIFIED = 'verified'; + const STATUS_VERIFICATION_FAILED = 'verification_failed'; + const STATUS_ERRORED = 'errored'; + /** * @return string The instance URL for this resource. It needs to be special * cased because it doesn't fit into the standard resource pattern. diff --git a/lib/Charge.php b/lib/Charge.php index 832a07c7c..43274c555 100644 --- a/lib/Charge.php +++ b/lib/Charge.php @@ -11,7 +11,9 @@ * @property int $amount_refunded * @property string $application * @property string $application_fee + * @property int $application_fee_amount * @property string $balance_transaction + * @property mixed $billing_details * @property bool $captured * @property int $created * @property string $currency @@ -30,6 +32,8 @@ * @property mixed $outcome * @property bool $paid * @property string $payment_intent + * @property string $payment_method + * @property mixed $payment_method_details * @property string $receipt_email * @property string $receipt_number * @property string $receipt_url @@ -86,6 +90,7 @@ class Charge extends ApiResource const DECLINED_INVALID_PIN = 'invalid_pin'; const DECLINED_ISSUER_NOT_AVAILABLE = 'issuer_not_available'; const DECLINED_LOST_CARD = 'lost_card'; + const DECLINED_MERCHANT_BLACKLIST = 'merchant_blacklist'; const DECLINED_NEW_ACCOUNT_INFORMATION_AVAILABLE = 'new_account_information_available'; const DECLINED_NO_ACTION_TAKEN = 'no_action_taken'; const DECLINED_NOT_PERMITTED = 'not_permitted'; diff --git a/lib/Customer.php b/lib/Customer.php index 44f5e6e2f..acb5c3131 100644 --- a/lib/Customer.php +++ b/lib/Customer.php @@ -26,6 +26,7 @@ * @property mixed $shipping * @property Collection $sources * @property Collection $subscriptions + * @property string $tax_exempt * @property Collection $tax_ids * * @package Stripe diff --git a/lib/Invoice.php b/lib/Invoice.php index 6e0ec9d6b..1ef9035ff 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -19,6 +19,7 @@ * @property string $billing * @property string $billing_reason * @property string $charge + * @property string $collection_method * @property int $created * @property string $currency * @property array $custom_fields @@ -28,6 +29,7 @@ * @property string $customer_name * @property string $customer_phone * @property mixed $customer_shipping + * @property string $customer_tax_exempt * @property array $customer_tax_ids * @property string $default_payment_method * @property string $default_source diff --git a/lib/Order.php b/lib/Order.php index 06c4ad346..0688c6ef9 100644 --- a/lib/Order.php +++ b/lib/Order.php @@ -23,7 +23,7 @@ * @property Collection $returns * @property string $selected_shipping_method * @property mixed $shipping - * @property mixed $shipping_methods + * @property array $shipping_methods * @property string $status * @property mixed $status_transitions * @property int $updated diff --git a/lib/Person.php b/lib/Person.php index 56241c4c4..f79b80da0 100644 --- a/lib/Person.php +++ b/lib/Person.php @@ -45,7 +45,7 @@ class Person extends ApiResource * Possible string representations of a person's gender. * @link https://stripe.com/docs/api/persons/object#person_object-gender */ - const GENDER_MALE = 'male'; + const GENDER_MALE = 'male'; const GENDER_FEMALE = 'female'; /** diff --git a/lib/Source.php b/lib/Source.php index 31b7cf77b..1e2c8c735 100644 --- a/lib/Source.php +++ b/lib/Source.php @@ -18,6 +18,7 @@ * @property mixed $code_verification * @property int $created * @property string $currency + * @property string $customer * @property mixed $eps * @property string $flow * @property mixed $giropay diff --git a/lib/Subscription.php b/lib/Subscription.php index 8b57d46b6..f5a46171d 100644 --- a/lib/Subscription.php +++ b/lib/Subscription.php @@ -13,6 +13,7 @@ * @property mixed $billing_thresholds * @property bool $cancel_at_period_end * @property int $canceled_at + * @property string $collection_method * @property int $created * @property int $current_period_end * @property int $current_period_start @@ -31,6 +32,7 @@ * @property int $quantity * @property SubscriptionSchedule $schedule * @property int $start + * @property int $start_date * @property string $status * @property float $tax_percent * @property int $trial_end diff --git a/lib/TaxId.php b/lib/TaxId.php index 2993e2d13..67dd9a323 100644 --- a/lib/TaxId.php +++ b/lib/TaxId.php @@ -12,7 +12,6 @@ * @property string $country * @property int $created * @property string $customer - * @property bool $deleted * @property bool $livemode * @property string $type * @property string $value