public class CustomerBalanceTransactionCollectionCreateParams extends ApiRequestParams
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomerBalanceTransactionCollectionCreateParams.Builder |
ApiRequestParams.EnumParamEXTRA_PARAMS_KEY| Modifier and Type | Method and Description |
|---|---|
static CustomerBalanceTransactionCollectionCreateParams.Builder |
builder() |
java.lang.Long |
getAmount()
The integer amount in %s to apply to the customer's balance.
|
java.lang.String |
getCurrency()
Three-letter ISO currency code,
in lowercase.
|
java.lang.String |
getDescription()
An arbitrary string attached to the object.
|
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.lang.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
toMappublic static CustomerBalanceTransactionCollectionCreateParams.Builder builder()
public java.lang.Long getAmount()
public java.lang.String getCurrency()
currency is set, this value must match it. If the customer's currency is not set,
it will be updated to this value.public java.lang.String getDescription()
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.lang.Object getMetadata()
metadata.