From db9ea6625249b7a92f548b0fa905f37b6394e2c8 Mon Sep 17 00:00:00 2001 From: Dominic Charley-Roy Date: Wed, 1 Jun 2022 14:46:29 -0400 Subject: [PATCH] Codegen for openapi v150 --- OPENAPI_VERSION | 2 +- lib/Charge.php | 1 + lib/PaymentMethod.php | 1 + lib/Terminal/Reader.php | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 78b0e479e..fff14d8c4 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v149 \ No newline at end of file +v150 \ No newline at end of file diff --git a/lib/Charge.php b/lib/Charge.php index 3ec4a5669..82c532c39 100644 --- a/lib/Charge.php +++ b/lib/Charge.php @@ -45,6 +45,7 @@ * @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent associated with this charge, if one exists. * @property null|string $payment_method ID of the payment method used in this charge. * @property null|\Stripe\StripeObject $payment_method_details Details about the payment method at the time of the transaction. + * @property \Stripe\StripeObject $radar_options Options to configure Radar. See Radar Session for more information. * @property null|string $receipt_email This is the email address that the receipt for this charge was sent to. * @property null|string $receipt_number This is the transaction number that appears on email receipts sent for this charge. This attribute will be null until a receipt has been sent. * @property null|string $receipt_url This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt. diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php index ed0112f7b..a6e91eb6c 100644 --- a/lib/PaymentMethod.php +++ b/lib/PaymentMethod.php @@ -46,6 +46,7 @@ * @property \Stripe\StripeObject $oxxo * @property \Stripe\StripeObject $p24 * @property \Stripe\StripeObject $paynow + * @property \Stripe\StripeObject $radar_options Options to configure Radar. See Radar Session for more information. * @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. diff --git a/lib/Terminal/Reader.php b/lib/Terminal/Reader.php index d7a3d36e5..16d610a06 100644 --- a/lib/Terminal/Reader.php +++ b/lib/Terminal/Reader.php @@ -15,7 +15,7 @@ * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|\Stripe\StripeObject $action The most recent action performed by the reader. * @property null|string $device_sw_version The current software version of the reader. - * @property string $device_type Type of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, or verifone_P400. + * @property string $device_type Type of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, or simulated_wisepos_e. * @property null|string $ip_address The local IP address of the reader. * @property string $label Custom label given to the reader for easier identification. * @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.