From 57442662b90a0eeafcfbdbd1e2261b4e6d842e5d Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 2 Mar 2023 10:00:08 -0800 Subject: [PATCH] Codegen for openapi v237 --- OPENAPI_VERSION | 2 +- lib/Payout.php | 5 +++++ lib/TaxRate.php | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 3c2b47ae7..eb6678972 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v232 \ No newline at end of file +v237 \ No newline at end of file diff --git a/lib/Payout.php b/lib/Payout.php index f3d20f796..c135d9315 100644 --- a/lib/Payout.php +++ b/lib/Payout.php @@ -31,6 +31,7 @@ * @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 string $method The method used to send this payout, which can be standard or instant. instant is only supported for payouts to debit cards. (See Instant payouts for marketplaces for more information.) * @property null|string|\Stripe\Payout $original_payout If the payout reverses another, this is the ID of the original payout. + * @property string $reconciliation_status If completed, the Balance Transactions API may be used to list all Balance Transactions that were paid out in this payout. * @property null|string|\Stripe\Payout $reversed_by If the payout was reversed, this is the ID of the payout that reverses this payout. * @property string $source_type The source balance this payout came from. One of card, fpx, or bank_account. * @property null|string $statement_descriptor Extra information about a payout to be displayed on the user's bank statement. @@ -65,6 +66,10 @@ class Payout extends ApiResource const METHOD_INSTANT = 'instant'; const METHOD_STANDARD = 'standard'; + const RECONCILIATION_STATUS_COMPLETED = 'completed'; + const RECONCILIATION_STATUS_IN_PROGRESS = 'in_progress'; + const RECONCILIATION_STATUS_NOT_APPLICABLE = 'not_applicable'; + const STATUS_CANCELED = 'canceled'; const STATUS_FAILED = 'failed'; const STATUS_IN_TRANSIT = 'in_transit'; diff --git a/lib/TaxRate.php b/lib/TaxRate.php index fa7cc84d8..d083dac31 100644 --- a/lib/TaxRate.php +++ b/lib/TaxRate.php @@ -43,6 +43,7 @@ class TaxRate extends ApiResource const TAX_TYPE_HST = 'hst'; const TAX_TYPE_IGST = 'igst'; const TAX_TYPE_JCT = 'jct'; + const TAX_TYPE_LEASE_TAX = 'lease_tax'; const TAX_TYPE_PST = 'pst'; const TAX_TYPE_QST = 'qst'; const TAX_TYPE_RST = 'rst';