public static class SessionCreateParams.PaymentIntentData.TransferData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SessionCreateParams.PaymentIntentData.TransferData.Builder |
Modifier and Type | Method and Description |
---|---|
static SessionCreateParams.PaymentIntentData.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 SessionCreateParams.PaymentIntentData.TransferData.Builder builder()
public java.lang.Long getAmount()
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.