diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 8a06d226023..7c810c6c345 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v591 \ No newline at end of file +v592 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/SetupIntent.java b/src/main/java/com/stripe/model/SetupIntent.java index dee8e0637e5..b8b618ae206 100644 --- a/src/main/java/com/stripe/model/SetupIntent.java +++ b/src/main/java/com/stripe/model/SetupIntent.java @@ -354,10 +354,10 @@ public void setSingleUseMandateObject(Mandate expandableObject) { } /** - * A SetupIntent object can be canceled when it is in one of these statuses: {@code + * You can cancel a SetupIntent object when it’s in one of these statuses: {@code * requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}. * - *
Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an + *
After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an * error. */ public SetupIntent cancel() throws StripeException { @@ -365,10 +365,10 @@ public SetupIntent cancel() throws StripeException { } /** - * A SetupIntent object can be canceled when it is in one of these statuses: {@code + * You can cancel a SetupIntent object when it’s in one of these statuses: {@code * requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}. * - *
Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an + *
After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an * error. */ public SetupIntent cancel(RequestOptions options) throws StripeException { @@ -376,10 +376,10 @@ public SetupIntent cancel(RequestOptions options) throws StripeException { } /** - * A SetupIntent object can be canceled when it is in one of these statuses: {@code + * You can cancel a SetupIntent object when it’s in one of these statuses: {@code * requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}. * - *
Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an + *
After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(Map Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(Map Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(SetupIntentCancelParams params) throws StripeException {
@@ -420,10 +420,10 @@ public SetupIntent cancel(SetupIntentCancelParams params) throws StripeException
}
/**
- * A SetupIntent object can be canceled when it is in one of these statuses: {@code
+ * You can cancel a SetupIntent object when it’s in one of these statuses: {@code
* requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}.
*
- * Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(SetupIntentCancelParams params, RequestOptions options)
diff --git a/src/main/java/com/stripe/param/SetupIntentCancelParams.java b/src/main/java/com/stripe/param/SetupIntentCancelParams.java
index 3215a04ef6c..10b193779a8 100644
--- a/src/main/java/com/stripe/param/SetupIntentCancelParams.java
+++ b/src/main/java/com/stripe/param/SetupIntentCancelParams.java
@@ -12,7 +12,7 @@
@Getter
public class SetupIntentCancelParams extends ApiRequestParams {
/**
- * Reason for canceling this SetupIntent. Possible values are {@code abandoned}, {@code
+ * Reason for canceling this SetupIntent. Possible values are: {@code abandoned}, {@code
* requested_by_customer}, or {@code duplicate}
*/
@SerializedName("cancellation_reason")
@@ -55,7 +55,7 @@ public SetupIntentCancelParams build() {
}
/**
- * Reason for canceling this SetupIntent. Possible values are {@code abandoned}, {@code
+ * Reason for canceling this SetupIntent. Possible values are: {@code abandoned}, {@code
* requested_by_customer}, or {@code duplicate}
*/
public Builder setCancellationReason(
diff --git a/src/main/java/com/stripe/param/SetupIntentConfirmParams.java b/src/main/java/com/stripe/param/SetupIntentConfirmParams.java
index d93ac2871d6..ba79789ec35 100644
--- a/src/main/java/com/stripe/param/SetupIntentConfirmParams.java
+++ b/src/main/java/com/stripe/param/SetupIntentConfirmParams.java
@@ -34,7 +34,6 @@ public class SetupIntentConfirmParams extends ApiRequestParams {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(String intent, SetupIntentCancelParams params) throws StripeException {
return cancel(intent, params, (RequestOptions) null);
}
/**
- * A SetupIntent object can be canceled when it is in one of these statuses: {@code
+ * You can cancel a SetupIntent object when it’s in one of these statuses: {@code
* requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}.
*
- * Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(String intent, RequestOptions options) throws StripeException {
return cancel(intent, (SetupIntentCancelParams) null, options);
}
/**
- * A SetupIntent object can be canceled when it is in one of these statuses: {@code
+ * You can cancel a SetupIntent object when it’s in one of these statuses: {@code
* requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}.
*
- * Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(String intent) throws StripeException {
return cancel(intent, (SetupIntentCancelParams) null, (RequestOptions) null);
}
/**
- * A SetupIntent object can be canceled when it is in one of these statuses: {@code
+ * You can cancel a SetupIntent object when it’s in one of these statuses: {@code
* requires_payment_method}, {@code requires_confirmation}, or {@code requires_action}.
*
- * Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an
+ * After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an
* error.
*/
public SetupIntent cancel(String intent, SetupIntentCancelParams params, RequestOptions options)