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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classThe URL the customer will be redirected to after the flow is completed.static classThe ID of the coupon to be offered.static class -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanConfiguration 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.inthashCode()voidsetAfterCompletion(Session.Flow.AfterCompletion afterCompletion) voidsetSubscriptionCancel(Session.Flow.SubscriptionCancel subscriptionCancel) Configuration whenflow.type=subscription_cancel.voidsetSubscriptionUpdate(Session.Flow.SubscriptionUpdate subscriptionUpdate) Configuration whenflow.type=subscription_update.voidsetSubscriptionUpdateConfirm(Session.Flow.SubscriptionUpdateConfirm subscriptionUpdateConfirm) Configuration whenflow.type=subscription_update_confirm.voidType of flow that the customer will go through.Methods inherited from class com.stripe.model.StripeObject
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()
-