Class Subscription.PauseCollection

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

public static class Subscription.PauseCollection extends StripeObject
The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription should be paused.
  • 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.
    • getResumesAt

      public Long getResumesAt()
      The time after which the subscription will resume collecting payments.
    • setBehavior

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

      public void setResumesAt(Long resumesAt)
      The time after which the subscription will resume collecting payments.
    • 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