public static class SubscriptionUpdateParams.PauseCollection
extends java.lang.Object
metered
or licensed
. licensed
automatically bills the quantity
set when adding it to a subscription. metered
aggregates the total usage based
on usage records. Defaults to licensed
.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()