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
Modifier and TypeClassDescriptionstatic class
static class
The URL the customer will be redirected to after the flow is completed.static class
The ID of the coupon to be offered.static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
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, 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()
-