Package com.stripe.model.billingportal
Class Session.Flow.SubscriptionCancel
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Session.Flow.SubscriptionCancel
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session.Flow
The URL the customer will be redirected to after the flow is completed.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Specify a retention strategy to be used in the cancellation flow.The ID of the subscription to be canceled.int
hashCode()
void
Specify a retention strategy to be used in the cancellation flow.void
setSubscription
(String subscription) The ID of the subscription to be canceled.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SubscriptionCancel
public SubscriptionCancel()
-
-
Method Details
-
getRetention
Specify a retention strategy to be used in the cancellation flow. -
getSubscription
The ID of the subscription to be canceled. -
setRetention
Specify a retention strategy to be used in the cancellation flow. -
setSubscription
The ID of the subscription to be canceled. -
equals
-
canEqual
-
hashCode
public int hashCode()
-