Package com.stripe.param.treasury
Class OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.treasury.OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder
- Enclosing class:
- OutboundPaymentCreateParams.DestinationPaymentMethodOptions
public static class OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder
extends Object
-
Constructor Summary
-
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.setUsBankAccount
(EmptyParam usBankAccount) Optional fields forus_bank_account
.setUsBankAccount
(OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount usBankAccount) Optional fields forus_bank_account
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder putExtraParam(String key, Object value) 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. SeeOutboundPaymentCreateParams.DestinationPaymentMethodOptions.extraParams
for the field documentation. -
putAllExtraParam
public OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder putAllExtraParam(Map<String, Object> map) 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. SeeOutboundPaymentCreateParams.DestinationPaymentMethodOptions.extraParams
for the field documentation. -
setUsBankAccount
public OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder setUsBankAccount(OutboundPaymentCreateParams.DestinationPaymentMethodOptions.UsBankAccount usBankAccount) Optional fields forus_bank_account
. -
setUsBankAccount
public OutboundPaymentCreateParams.DestinationPaymentMethodOptions.Builder setUsBankAccount(EmptyParam usBankAccount) Optional fields forus_bank_account
.
-