diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php index cbb2f32ae..1f64446b7 100644 --- a/lib/Checkout/Session.php +++ b/lib/Checkout/Session.php @@ -35,6 +35,8 @@ * @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 null|string|\Stripe\SetupIntent $setup_intent The ID of the SetupIntent for Checkout Sessions in setup mode. + * @property null|\Stripe\StripeObject $shipping Shipping information for this Checkout Session. + * @property null|\Stripe\StripeObject $shipping_address_collection When set, provides configuration for Checkout to collect a shipping address from a customer. * @property null|string $submit_type Describes the type of transaction being performed by Checkout in order to customize relevant text on the page, such as the submit button. submit_type can only be specified on Checkout Sessions in payment mode, but not Checkout Sessions in subscription or setup mode. * @property null|string|\Stripe\Subscription $subscription The ID of the subscription for Checkout Sessions in subscription mode. * @property string $success_url The URL the customer will be directed to after the payment or subscription creation is successful. diff --git a/lib/Issuing/Authorization.php b/lib/Issuing/Authorization.php index 92068179d..1e5e3bad0 100644 --- a/lib/Issuing/Authorization.php +++ b/lib/Issuing/Authorization.php @@ -33,7 +33,8 @@ * @property string $status The current status of the authorization in its lifecycle. * @property \Stripe\Issuing\Transaction[] $transactions List of transactions associated with this authorization. * @property \Stripe\StripeObject $verification_data - * @property null|string $wallet_provider What, if any, digital wallet was used for this authorization. One of apple_pay, google_pay, or samsung_pay. + * @property null|string $wallet What, if any, digital wallet was used for this authorization. One of apple_pay, google_pay, or samsung_pay. + * @property null|string $wallet_provider [DEPRECATED] What, if any, digital wallet was used for this authorization. One of apple_pay, google_pay, or samsung_pay. */ class Authorization extends \Stripe\ApiResource { diff --git a/lib/Issuing/Cardholder.php b/lib/Issuing/Cardholder.php index 258467047..ff4cd8946 100644 --- a/lib/Issuing/Cardholder.php +++ b/lib/Issuing/Cardholder.php @@ -18,7 +18,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string $email The cardholder's email address. * @property null|\Stripe\StripeObject $individual Additional information about an individual cardholder. - * @property bool $is_default Whether or not this cardholder is the default cardholder. + * @property bool $is_default [DEPRECATED] Whether or not this cardholder is the default cardholder. * @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 \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 string $name The cardholder's name. This will be printed on cards issued to them. diff --git a/lib/PaymentIntent.php b/lib/PaymentIntent.php index ec8893176..687126df0 100644 --- a/lib/PaymentIntent.php +++ b/lib/PaymentIntent.php @@ -14,8 +14,7 @@ * authentication flows and ultimately creates at most one successful charge. * * Related guide: Payment - * Intents API. + * href="https://stripe.com/docs/payments/payment-intents">Payment Intents API. * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. diff --git a/lib/Plan.php b/lib/Plan.php index 9af246dac..b9ca68da2 100644 --- a/lib/Plan.php +++ b/lib/Plan.php @@ -18,7 +18,7 @@ * @property null|string $aggregate_usage Specifies a usage aggregation strategy for plans of usage_type=metered. Allowed values are sum for summing up all usage during a period, last_during_period for using the last usage record reported within a period, last_ever for using the last usage record ever (across period bounds) or max which uses the usage record with the maximum reported usage during a period. Defaults to sum. * @property null|int $amount The amount in %s to be charged on the interval specified. * @property null|string $amount_decimal Same as amount, but contains a decimal value with at most 12 decimal places. - * @property null|string $billing_scheme Describes how to compute the price per period. Either per_unit or tiered. per_unit indicates that the fixed amount (specified in amount) will be charged per unit in quantity (for plans with usage_type=licensed), or per unit of total usage (for plans with usage_type=metered). tiered indicates that the unit pricing will be computed using a tiering strategy as defined using the tiers and tiers_mode attributes. + * @property string $billing_scheme Describes how to compute the price per period. Either per_unit or tiered. per_unit indicates that the fixed amount (specified in amount) will be charged per unit in quantity (for plans with usage_type=licensed), or per unit of total usage (for plans with usage_type=metered). tiered indicates that the unit pricing will be computed using a tiering strategy as defined using the tiers and tiers_mode attributes. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property string $interval The frequency at which a subscription is billed. One of day, week, month or year. diff --git a/lib/Product.php b/lib/Product.php index a0addcfb4..8b85e8c5d 100644 --- a/lib/Product.php +++ b/lib/Product.php @@ -23,7 +23,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string[] $deactivate_on An array of connect application identifiers that cannot purchase this product. Only applicable to products of type=good. * @property null|string $description The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. - * @property string[] $images A list of up to 8 URLs of images for this product, meant to be displayable to the customer. Only applicable to products of type=good. + * @property string[] $images A list of up to 8 URLs of images for this product, meant to be displayable to the customer. * @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 \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 string $name The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. diff --git a/lib/SetupIntent.php b/lib/SetupIntent.php index 40e7a071c..3f52d22ff 100644 --- a/lib/SetupIntent.php +++ b/lib/SetupIntent.php @@ -27,6 +27,9 @@ * By using SetupIntents, you ensure that your customers experience the minimum set * of required friction, even as regulations change over time. * + * Related guide: Setup + * Intents API. + * * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the SetupIntent. diff --git a/lib/WebhookEndpoint.php b/lib/WebhookEndpoint.php index 94a152c53..6cee4feab 100644 --- a/lib/WebhookEndpoint.php +++ b/lib/WebhookEndpoint.php @@ -21,6 +21,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string[] $enabled_events The list of events to enable for this endpoint. ['*'] indicates that all events are enabled, except those that require explicit selection. * @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 \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 string $secret The endpoint's secret, used to generate webhook signatures. Only returned at creation. * @property string $status The status of the webhook. It can be enabled or disabled. * @property string $url The URL of the webhook endpoint.