public static class SubscriptionUpdateParams.Item
extends java.lang.Object
SubscriptionUpdateParams.InvoiceCustomerBalanceSettings.extraParams
for the
field documentation.Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionUpdateParams.Item.BillingThresholds |
static class |
SubscriptionUpdateParams.Item.Builder |
Modifier and Type | Method and Description |
---|---|
static SubscriptionUpdateParams.Item.Builder |
builder() |
java.lang.Object |
getBillingThresholds()
Define thresholds at which an invoice will be sent, and the subscription advanced to a new
billing period.
|
java.lang.Boolean |
getClearUsage()
Delete all usage for a given subscription item.
|
java.lang.Boolean |
getDeleted()
A flag that, if set to `true`, will delete the specified item.
|
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.Object |
getId()
Subscription item to update.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.Object |
getPlan()
Plan ID for this item, as a string.
|
java.lang.Long |
getQuantity()
Quantity for this item.
|
java.lang.Object |
getTaxRates()
The tax rates which apply to this `subscription_item`.
|
public static SubscriptionUpdateParams.Item.Builder builder()
public java.lang.Object getBillingThresholds()
public java.lang.Boolean getClearUsage()
public java.lang.Boolean getDeleted()
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.Object getId()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.Object getPlan()
public java.lang.Long getQuantity()
public java.lang.Object getTaxRates()