public static class PaymentIntentCreateParams.TransferData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PaymentIntentCreateParams.TransferData.Builder |
Modifier and Type | Method and Description |
---|---|
static PaymentIntentCreateParams.TransferData.Builder |
builder() |
java.lang.Long |
getAmount()
The amount that will be transferred automatically when a charge succeeds.
|
java.lang.String |
getDestination()
If specified, successful charges will be attributed to the destination account for tax
reporting, and the funds from charges will be transferred to the destination account.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
public static PaymentIntentCreateParams.TransferData.Builder builder()
public java.lang.Long getAmount()
If you intend to collect a fee and you need a more robust reporting experience, using application_fee_amount might be a better fit for your integration.
public java.lang.String getDestination()
transfer
field.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.