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
For more details about SubscriptionCancel, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Retention, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanSpecify a retention strategy to be used in the cancellation flow.The ID of the subscription to be canceled.inthashCode()voidSpecify a retention strategy to be used in the cancellation flow.voidsetSubscription(String subscription) The ID of the subscription to be canceled.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, 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()
-