Class SubscriptionUpdateParams.PauseCollection

Enclosing class:

public static class SubscriptionUpdateParams.PauseCollection extends Object
The number of intervals between subscription billings. For example, interval=month and interval_count=3 bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
  • Method Details

    • builder

    • getBehavior

      Required. The payment collection behavior for this subscription while paused. One of keep_as_draft, mark_uncollectible, or void.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getResumesAt

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