public class TransferCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
TransferCreateParams.Builder |
static class |
TransferCreateParams.SourceType |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static TransferCreateParams.Builder |
builder() |
java.lang.Long |
getAmount()
A positive integer in %s representing how much to transfer.
|
java.lang.String |
getCurrency()
3-letter ISO code for currency.
|
java.lang.String |
getDescription()
An arbitrary string attached to the object.
|
java.lang.String |
getDestination()
The ID of a connected Stripe account.
|
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 |
getSourceTransaction()
You can use this parameter to transfer funds from a charge before they are added to your
available balance.
|
TransferCreateParams.SourceType |
getSourceType()
The source balance to use for this transfer.
|
java.lang.String |
getTransferGroup()
A string that identifies this transaction as part of a group.
|
toMap
public static TransferCreateParams.Builder builder()
public java.lang.Long getAmount()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.lang.String getDestination()
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()
metadata
.public java.lang.String getSourceTransaction()
public TransferCreateParams.SourceType getSourceType()
bank_account
, card
, or
fpx
. For most users, this will default to card
.public java.lang.String getTransferGroup()