Class SubscriptionSchedule.Phase.PauseCollection

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.PauseCollection
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SubscriptionSchedule.Phase

public static class SubscriptionSchedule.Phase.PauseCollection extends StripeObject
The Pause Collection settings specify how to pause collection for a subscription during a phase by modifying the behavior of the invoices that are generated during the paused period.
  • Constructor Details

    • PauseCollection

      public PauseCollection()
  • Method Details

    • getBehavior

      public String getBehavior()
      The payment collection behavior for this subscription while paused. One of keep_as_draft, mark_uncollectible, or void.
    • setBehavior

      public void setBehavior(String behavior)
      The payment collection behavior for this subscription while paused. One of keep_as_draft, mark_uncollectible, or void.
    • 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