public static class SessionCreateParams.PaymentIntentData.TransferData.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SessionCreateParams.PaymentIntentData.TransferData |
build()
Finalize and obtain parameter instance from this builder.
|
SessionCreateParams.PaymentIntentData.TransferData.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map) |
SessionCreateParams.PaymentIntentData.TransferData.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
SessionCreateParams.PaymentIntentData.TransferData.Builder |
setDestination(java.lang.String destination)
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.
|
public SessionCreateParams.PaymentIntentData.TransferData build()
public SessionCreateParams.PaymentIntentData.TransferData.Builder setDestination(java.lang.String destination)
public SessionCreateParams.PaymentIntentData.TransferData.Builder putExtraParam(java.lang.String key, java.lang.Object value)
SessionCreateParams.PaymentIntentData.TransferData.extraParams
for the
field documentation.public SessionCreateParams.PaymentIntentData.TransferData.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)