public class TopupCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
TopupCreateParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static TopupCreateParams.Builder |
builder() |
java.lang.Long |
getAmount()
A positive integer representing how much to transfer.
|
java.lang.String |
getCurrency()
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), 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.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.String |
getSource()
The ID of a source to transfer funds from.
|
java.lang.String |
getStatementDescriptor()
Extra information about a top-up for the source's bank statement.
|
java.lang.String |
getTransferGroup()
A string that identifies this top-up as part of a group.
|
toMap
public static TopupCreateParams.Builder builder()
public java.lang.Long getAmount()
public java.lang.String getCurrency()
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.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.String getSource()
public java.lang.String getStatementDescriptor()
public java.lang.String getTransferGroup()