public static class SubscriptionUpdateParams.PauseCollection
extends java.lang.Object
interval=month
and interval_count=3
bills every 3 months. Maximum of one year
interval allowed (1 year, 12 months, or 52 weeks).Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionUpdateParams.PauseCollection.Behavior |
static class |
SubscriptionUpdateParams.PauseCollection.Builder |
Modifier and Type | Method and Description |
---|---|
static SubscriptionUpdateParams.PauseCollection.Builder |
builder() |
SubscriptionUpdateParams.PauseCollection.Behavior |
getBehavior()
The payment collection behavior for this subscription while paused.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Long |
getResumesAt()
The time after which the subscription will resume collecting payments.
|
public static SubscriptionUpdateParams.PauseCollection.Builder builder()
public SubscriptionUpdateParams.PauseCollection.Behavior getBehavior()
keep_as_draft
, mark_uncollectible
, or void
.public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.lang.Long getResumesAt()