public static class SubscriptionScheduleUpdateParams.Phase.BillingThresholds
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionScheduleUpdateParams.Phase.BillingThresholds.Builder |
Modifier and Type | Method and Description |
---|---|
static SubscriptionScheduleUpdateParams.Phase.BillingThresholds.Builder |
builder() |
java.lang.Long |
getAmountGte()
Monetary threshold that triggers the subscription to advance to a new billing period.
|
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.Boolean |
getResetBillingCycleAnchor()
Indicates if the
billing_cycle_anchor should be reset when a threshold is reached. |
public static SubscriptionScheduleUpdateParams.Phase.BillingThresholds.Builder builder()
public java.lang.Long getAmountGte()
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.Boolean getResetBillingCycleAnchor()
billing_cycle_anchor
should be reset when a threshold is reached.
If true, billing_cycle_anchor
will be updated to the date/time the threshold was
last reached; otherwise, the value will remain unchanged.