Package com.stripe.param
Class ChargeCreateParams.Destination.Builder
java.lang.Object
com.stripe.param.ChargeCreateParams.Destination.Builder
- Enclosing class:
- ChargeCreateParams.Destination
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setAccount
(String account) Required. ID of an existing, connected Stripe account.The amount to transfer to the destination account without creating anApplication Fee
object.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccount
Required. ID of an existing, connected Stripe account. -
setAmount
The amount to transfer to the destination account without creating anApplication Fee
object. Cannot be combined with theapplication_fee
parameter. Must be less than or equal to the charge amount. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeChargeCreateParams.Destination.extraParams
for the field documentation. -
putAllExtraParam
-