From 21fcfae0e67b2badf0e747e9c442602b301da21b Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Tue, 8 Sep 2020 11:35:07 -0700 Subject: [PATCH] Codegen for openapi d49d89b --- lib/Card.php | 2 +- lib/Charge.php | 2 +- lib/Checkout/Session.php | 2 +- lib/PaymentIntent.php | 2 +- lib/PaymentMethod.php | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/Card.php b/lib/Card.php index d3e85bf9a..9575400f7 100644 --- a/lib/Card.php +++ b/lib/Card.php @@ -28,7 +28,7 @@ * @property null|string $country Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. * @property null|string $currency * @property null|string|\Stripe\Customer $customer The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead. - * @property null|string $cvc_check If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. + * @property null|string $cvc_check If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see Check if a card is valid without a charge. * @property null|bool $default_for_currency Whether this card is the default external account for its currency. * @property null|string $dynamic_last4 (For tokenized numbers only.) The last four digits of the device account number. * @property int $exp_month Two-digit number representing the card's expiration month. diff --git a/lib/Charge.php b/lib/Charge.php index 8b5e6ee54..0dbcda604 100644 --- a/lib/Charge.php +++ b/lib/Charge.php @@ -19,7 +19,7 @@ * @property int $amount_refunded Amount in %s refunded (can be less than the amount attribute on the charge if a partial refund was issued). * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the charge. * @property null|string|\Stripe\ApplicationFee $application_fee The application fee (if any) for the charge. See the Connect documentation for details. - * @property null|int $application_fee_amount The amount of the application fee (if any) for the charge. See the Connect documentation for details. + * @property null|int $application_fee_amount The amount of the application fee (if any) requested for the charge. See the Connect documentation for details. * @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes). * @property \Stripe\StripeObject $billing_details * @property null|string $calculated_statement_descriptor The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php index 91d45dc67..dbd9c6fef 100644 --- a/lib/Checkout/Session.php +++ b/lib/Checkout/Session.php @@ -37,7 +37,7 @@ * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string $locale The IETF language tag of the locale Checkout is displayed in. If blank or auto, the browser's locale is used. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property null|string $mode The mode of the Checkout Session, one of payment, setup, or subscription. + * @property string $mode The mode of the Checkout Session, one of payment, setup, or subscription. * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment mode. * @property string[] $payment_method_types A list of the types of payment methods (e.g. card) this Checkout Session is allowed to accept. * @property string $payment_status The payment status of the Checkout Session, one of paid, unpaid, or no_payment_required. You can use this value to decide when to fulfill your customer's order. diff --git a/lib/PaymentIntent.php b/lib/PaymentIntent.php index 53dbd44c4..b1de7e475 100644 --- a/lib/PaymentIntent.php +++ b/lib/PaymentIntent.php @@ -24,7 +24,7 @@ * @property int $amount_capturable Amount that can be captured from this PaymentIntent. * @property int $amount_received Amount that was collected by this PaymentIntent. * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the PaymentIntent. - * @property null|int $application_fee_amount The amount of the application fee (if any) for the resulting payment. See the PaymentIntents use case for connected accounts for details. + * @property null|int $application_fee_amount The amount of the application fee (if any) requested for the resulting payment. See the PaymentIntents use case for connected accounts for details. * @property null|int $canceled_at Populated when status is canceled, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch. * @property null|string $cancellation_reason Reason for cancellation of this PaymentIntent, either user-provided (duplicate, fraudulent, requested_by_customer, or abandoned) or generated by Stripe internally (failed_invoice, void_invoice, or automatic). * @property string $capture_method Controls when the funds will be captured from the customer's account. diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php index d32895bc7..f280e2d46 100644 --- a/lib/PaymentMethod.php +++ b/lib/PaymentMethod.php @@ -36,6 +36,7 @@ * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property \Stripe\StripeObject $p24 * @property \Stripe\StripeObject $sepa_debit + * @property \Stripe\StripeObject $sofort * @property string $type The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. */ class PaymentMethod extends ApiResource