Class Session.Flow.AfterCompletion

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

public static class Session.Flow.AfterCompletion extends StripeObject
  • Constructor Details

    • AfterCompletion

      public AfterCompletion()
  • Method Details

    • getHostedConfirmation

      public Session.Flow.AfterCompletion.HostedConfirmation getHostedConfirmation()
      Configuration when after_completion.type=hosted_confirmation.
    • getRedirect

      Configuration when after_completion.type=redirect.
    • getType

      public String getType()
      The specified type of behavior after the flow is completed.

      One of hosted_confirmation, portal_homepage, or redirect.

    • setHostedConfirmation

      public void setHostedConfirmation(Session.Flow.AfterCompletion.HostedConfirmation hostedConfirmation)
      Configuration when after_completion.type=hosted_confirmation.
    • setRedirect

      public void setRedirect(Session.Flow.AfterCompletion.Redirect redirect)
      Configuration when after_completion.type=redirect.
    • setType

      public void setType(String type)
      The specified type of behavior after the flow is completed.

      One of hosted_confirmation, portal_homepage, or redirect.

    • 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