diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 91bb63fb5..6ed31bffd 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v285 \ No newline at end of file +v293 \ No newline at end of file diff --git a/lib/Invoice.php b/lib/Invoice.php index df3ef2aa5..e1be77f70 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -149,6 +149,8 @@ class Invoice extends ApiResource const COLLECTION_METHOD_CHARGE_AUTOMATICALLY = 'charge_automatically'; const COLLECTION_METHOD_SEND_INVOICE = 'send_invoice'; + /** @deprecated */ + const STATUS_DELETED = 'deleted'; const STATUS_DRAFT = 'draft'; const STATUS_OPEN = 'open'; const STATUS_PAID = 'paid'; diff --git a/lib/Refund.php b/lib/Refund.php index 8692f03a4..0db94749b 100644 --- a/lib/Refund.php +++ b/lib/Refund.php @@ -21,7 +21,7 @@ * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only) * @property null|string|\Stripe\BalanceTransaction $failure_balance_transaction If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. * @property null|string $failure_reason If the refund failed, the reason for refund failure if known. Possible values are lost_or_stolen_card, expired_or_canceled_card, charge_for_pending_refund_disputed, insufficient_funds, declined, merchant_request or unknown. - * @property null|string $instructions_email Email to which refund instructions, if required, are sent to. + * @property null|string $instructions_email For payment methods without native refund support (e.g., Konbini, PromptPay), email for the customer to receive refund instructions. * @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|\Stripe\StripeObject $next_action * @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent that was refunded. diff --git a/lib/Tax/Calculation.php b/lib/Tax/Calculation.php index c8ab80d5a..ac0ba8676 100644 --- a/lib/Tax/Calculation.php +++ b/lib/Tax/Calculation.php @@ -5,8 +5,10 @@ namespace Stripe\Tax; /** - * A Tax Calculation allows you to calculate the tax to collect from - * your customer. + * A Tax Calculation allows you to calculate the tax to collect from your customer. + * + * Related guide: Calculate tax in + * your custom payment flow. * * @property null|string $id Unique identifier for the calculation. * @property string $object String representing the object's type. Objects of the same type share the same value. diff --git a/lib/Tax/Transaction.php b/lib/Tax/Transaction.php index 2b273a890..b3c816761 100644 --- a/lib/Tax/Transaction.php +++ b/lib/Tax/Transaction.php @@ -5,7 +5,11 @@ namespace Stripe\Tax; /** - * A Tax transaction records the tax collected from or refunded to your customer. + * A Tax Transaction records the tax collected from or refunded to your customer. + * + * Related guide: Calculate tax in your + * custom payment flow. * * @property string $id Unique identifier for the transaction. * @property string $object String representing the object's type. Objects of the same type share the same value.