public static class ChargeCreateParams.Destination.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ChargeCreateParams.Destination |
build()
Finalize and obtain parameter instance from this builder.
|
ChargeCreateParams.Destination.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map) |
ChargeCreateParams.Destination.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
ChargeCreateParams.Destination.Builder |
setAccount(java.lang.String account)
ID of an existing, connected Stripe account.
|
ChargeCreateParams.Destination.Builder |
setAmount(java.lang.Long amount)
The amount to transfer to the destination account without creating an
Application
Fee object. |
public ChargeCreateParams.Destination build()
public ChargeCreateParams.Destination.Builder setAccount(java.lang.String account)
public ChargeCreateParams.Destination.Builder setAmount(java.lang.Long amount)
Application
Fee object. Cannot be combined with the application_fee parameter. Must be less
than or equal to the charge amount.public ChargeCreateParams.Destination.Builder putExtraParam(java.lang.String key, java.lang.Object value)
ChargeCreateParams.Destination.extraParams for the field documentation.public ChargeCreateParams.Destination.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)