public class InvoiceItemUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceItemUpdateParams.Builder |
static class |
InvoiceItemUpdateParams.Period |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static InvoiceItemUpdateParams.Builder |
builder() |
java.lang.Long |
getAmount()
The integer amount in **%s** of the charge to be applied to the upcoming invoice.
|
java.lang.Object |
getDescription()
An arbitrary string which you can attach to the invoice item.
|
java.lang.Boolean |
getDiscountable()
Controls whether discounts apply to this invoice item.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
A set of key-value pairs that you can attach to an invoice item object.
|
InvoiceItemUpdateParams.Period |
getPeriod()
The period associated with this invoice item.
|
java.lang.Long |
getQuantity()
Non-negative integer.
|
java.lang.Object |
getTaxRates()
The tax rates which apply to the invoice item.
|
java.lang.Long |
getUnitAmount()
The integer unit amount in **%s** of the charge to be applied to the upcoming invoice.
|
java.lang.Object |
getUnitAmountDecimal()
Same as `unit_amount`, but accepts a decimal value with at most 12 decimal places.
|
toMap
public static InvoiceItemUpdateParams.Builder builder()
public java.lang.Long getAmount()
public java.lang.Object getDescription()
public java.lang.Boolean getDiscountable()
public java.util.List<java.lang.String> getExpand()
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.util.Map<java.lang.String,java.lang.String> getMetadata()
public InvoiceItemUpdateParams.Period getPeriod()
public java.lang.Long getQuantity()
public java.lang.Object getTaxRates()
public java.lang.Long getUnitAmount()
public java.lang.Object getUnitAmountDecimal()