From 52c6cb29da78d84183548bdb20e9e642fbb80e88 Mon Sep 17 00:00:00 2001
From: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com>
Date: Thu, 22 Dec 2022 11:34:45 -0800
Subject: [PATCH] Codegen for openapi v216 (#1413)
---
OPENAPI_VERSION | 2 +-
lib/Checkout/Session.php | 2 +-
lib/SubscriptionSchedule.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index de4ec3f3b..a75e729f5 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v214
\ No newline at end of file
+v216
\ No newline at end of file
diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php
index 75382129c..f2efa5983 100644
--- a/lib/Checkout/Session.php
+++ b/lib/Checkout/Session.php
@@ -31,7 +31,7 @@
* @property null|int $amount_total Total of all items after discounts and taxes are applied.
* @property \Stripe\StripeObject $automatic_tax
* @property null|string $billing_address_collection Describes whether Checkout should collect the customer's billing address.
- * @property string $cancel_url The URL the customer will be directed to if they decide to cancel payment and return to your website.
+ * @property null|string $cancel_url If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.
* @property null|string $client_reference_id A unique string to reference the Checkout Session. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the Session with your internal systems.
* @property null|\Stripe\StripeObject $consent Results of consent_collection
for this session.
* @property null|\Stripe\StripeObject $consent_collection When set, provides configuration for the Checkout Session to gather active consent from customers.
diff --git a/lib/SubscriptionSchedule.php b/lib/SubscriptionSchedule.php
index c1d4ce02f..cc0011703 100644
--- a/lib/SubscriptionSchedule.php
+++ b/lib/SubscriptionSchedule.php
@@ -21,7 +21,7 @@
* @property null|\Stripe\StripeObject $current_phase Object representing the start and end dates for the current phase of the subscription schedule, if it is active
.
* @property string|\Stripe\Customer $customer ID of the customer who owns the subscription schedule.
* @property \Stripe\StripeObject $default_settings
- * @property string $end_behavior Behavior of the subscription schedule and underlying subscription when it ends. Possible values are release
and cancel
.
+ * @property string $end_behavior Behavior of the subscription schedule and underlying subscription when it ends. Possible values are release
or cancel
with the default being release
. release
will end the subscription schedule and keep the underlying subscription running.cancel
will end the subscription schedule and cancel the underlying subscription.
* @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 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 \Stripe\StripeObject[] $phases Configuration for the subscription schedule's phases.