public static class SubscriptionItemUpdateParams.PriceData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionItemUpdateParams.PriceData.Builder |
static class |
SubscriptionItemUpdateParams.PriceData.Recurring |
Modifier and Type | Method and Description |
---|---|
static SubscriptionItemUpdateParams.PriceData.Builder |
builder() |
java.lang.Object |
getCurrency()
Three-letter ISO currency
code, in lowercase.
|
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 |
getProduct()
The ID of the product that this price will belong to.
|
SubscriptionItemUpdateParams.PriceData.Recurring |
getRecurring()
The recurring components of a price such as
interval and usage_type . |
java.lang.Long |
getUnitAmount()
A positive integer in %s (or 0 for a free price) representing how much to charge.
|
java.lang.Object |
getUnitAmountDecimal()
Same as
unit_amount , but accepts a decimal value with at most 12 decimal places. |
public static SubscriptionItemUpdateParams.PriceData.Builder builder()
public java.lang.Object getCurrency()
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 getProduct()
public SubscriptionItemUpdateParams.PriceData.Recurring getRecurring()
interval
and usage_type
.public java.lang.Long getUnitAmount()
public java.lang.Object getUnitAmountDecimal()
unit_amount
, but accepts a decimal value with at most 12 decimal places. Only
one of unit_amount
and unit_amount_decimal
can be set.