From f317214e349f1d15c56ffdfec4a39ca4c99dc89c Mon Sep 17 00:00:00 2001 From: Dominic Charley-Roy Date: Tue, 23 Aug 2022 08:40:30 -0400 Subject: [PATCH] Codegen for openapi v184 --- OPENAPI_VERSION | 2 +- lib/Treasury/OutboundTransfer.php | 2 +- tests/Stripe/GeneratedExamplesTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d9f3b7218..c13f8f959 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v183 \ No newline at end of file +v184 \ No newline at end of file diff --git a/lib/Treasury/OutboundTransfer.php b/lib/Treasury/OutboundTransfer.php index 9630ca41f..a21680bee 100644 --- a/lib/Treasury/OutboundTransfer.php +++ b/lib/Treasury/OutboundTransfer.php @@ -23,7 +23,7 @@ * @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 null|string $description An arbitrary string attached to the object. Often useful for displaying to users. - * @property string $destination_payment_method The PaymentMethod used as the payment instrument for an OutboundTransfer. + * @property null|string $destination_payment_method The PaymentMethod used as the payment instrument for an OutboundTransfer. * @property \Stripe\StripeObject $destination_payment_method_details * @property int $expected_arrival_date The date when funds are expected to arrive in the destination account. * @property string $financial_account The FinancialAccount that funds were pulled from. diff --git a/tests/Stripe/GeneratedExamplesTest.php b/tests/Stripe/GeneratedExamplesTest.php index 206a87c18..066a0d33f 100644 --- a/tests/Stripe/GeneratedExamplesTest.php +++ b/tests/Stripe/GeneratedExamplesTest.php @@ -382,7 +382,7 @@ public function testFundCashBalanceCustomer() 'cus_123', ['amount' => 30, 'currency' => 'eur'] ); - static::assertInstanceOf(\Stripe\CustomerBalanceTransaction::class, $result); + static::assertInstanceOf(\Stripe\CustomerCashBalanceTransaction::class, $result); } public function testDeliverCardCard()