Class Session.Flow

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Session.Flow
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.Flow extends StripeObject
  • Constructor Details

    • Flow

      public Flow()
  • Method Details

    • getAfterCompletion

      public Session.Flow.AfterCompletion getAfterCompletion()
    • getSubscriptionCancel

      public Session.Flow.SubscriptionCancel getSubscriptionCancel()
      Configuration when flow.type=subscription_cancel.
    • getSubscriptionUpdate

      public Session.Flow.SubscriptionUpdate getSubscriptionUpdate()
      Configuration when flow.type=subscription_update.
    • getSubscriptionUpdateConfirm

      public Session.Flow.SubscriptionUpdateConfirm getSubscriptionUpdateConfirm()
      Configuration when flow.type=subscription_update_confirm.
    • getType

      public String getType()
      Type of flow that the customer will go through.

      One of payment_method_update, subscription_cancel, subscription_update, or subscription_update_confirm.

    • setAfterCompletion

      public void setAfterCompletion(Session.Flow.AfterCompletion afterCompletion)
    • setSubscriptionCancel

      public void setSubscriptionCancel(Session.Flow.SubscriptionCancel subscriptionCancel)
      Configuration when flow.type=subscription_cancel.
    • setSubscriptionUpdate

      public void setSubscriptionUpdate(Session.Flow.SubscriptionUpdate subscriptionUpdate)
      Configuration when flow.type=subscription_update.
    • setSubscriptionUpdateConfirm

      public void setSubscriptionUpdateConfirm(Session.Flow.SubscriptionUpdateConfirm subscriptionUpdateConfirm)
      Configuration when flow.type=subscription_update_confirm.
    • setType

      public void setType(String type)
      Type of flow that the customer will go through.

      One of payment_method_update, subscription_cancel, subscription_update, or subscription_update_confirm.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object