Package com.stripe.model.billingportal
Class Session.Flow
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Session.Flow
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about Flow, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about AfterCompletion, please refer to the API Reference.static class
For more details about SubscriptionCancel, please refer to the API Reference.static class
For more details about SubscriptionUpdate, please refer to the API Reference.static class
For more details about SubscriptionUpdateConfirm, 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 boolean
boolean
Configuration whenflow.type=subscription_cancel
.Configuration whenflow.type=subscription_update
.Configuration whenflow.type=subscription_update_confirm
.getType()
Type of flow that the customer will go through.int
hashCode()
void
setAfterCompletion
(Session.Flow.AfterCompletion afterCompletion) void
setSubscriptionCancel
(Session.Flow.SubscriptionCancel subscriptionCancel) Configuration whenflow.type=subscription_cancel
.void
setSubscriptionUpdate
(Session.Flow.SubscriptionUpdate subscriptionUpdate) Configuration whenflow.type=subscription_update
.void
setSubscriptionUpdateConfirm
(Session.Flow.SubscriptionUpdateConfirm subscriptionUpdateConfirm) Configuration whenflow.type=subscription_update_confirm
.void
Type of flow that the customer will go through.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Flow
public Flow()
-
-
Method Details
-
getAfterCompletion
-
getSubscriptionCancel
Configuration whenflow.type=subscription_cancel
. -
getSubscriptionUpdate
Configuration whenflow.type=subscription_update
. -
getSubscriptionUpdateConfirm
Configuration whenflow.type=subscription_update_confirm
. -
getType
Type of flow that the customer will go through.One of
payment_method_update
,subscription_cancel
,subscription_update
, orsubscription_update_confirm
. -
setAfterCompletion
-
setSubscriptionCancel
Configuration whenflow.type=subscription_cancel
. -
setSubscriptionUpdate
Configuration whenflow.type=subscription_update
. -
setSubscriptionUpdateConfirm
public void setSubscriptionUpdateConfirm(Session.Flow.SubscriptionUpdateConfirm subscriptionUpdateConfirm) Configuration whenflow.type=subscription_update_confirm
. -
setType
Type of flow that the customer will go through.One of
payment_method_update
,subscription_cancel
,subscription_update
, orsubscription_update_confirm
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-