Package com.stripe.param
Class FxQuoteCreateParams.Usage.Payment.Builder
java.lang.Object
com.stripe.param.FxQuoteCreateParams.Usage.Payment.Builder
- Enclosing class:
- FxQuoteCreateParams.Usage.Payment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setDestination
(String destination) The Stripe account ID that the funds will be transferred to.setOnBehalfOf
(String onBehalfOf)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDestination
The Stripe account ID that the funds will be transferred to.This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field.
-
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. SeeFxQuoteCreateParams.Usage.Payment.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs 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. SeeFxQuoteCreateParams.Usage.Payment.extraParams
for the field documentation. -
setOnBehalfOf
-