Package com.stripe.param.treasury
Class OutboundTransferCreateParams.DestinationPaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.treasury.OutboundTransferCreateParams.DestinationPaymentMethodOptions.Builder
- Enclosing class:
- OutboundTransferCreateParams.DestinationPaymentMethodOptions
public static class OutboundTransferCreateParams.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
(OutboundTransferCreateParams.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 OutboundTransferCreateParams.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. SeeOutboundTransferCreateParams.DestinationPaymentMethodOptions.extraParams
for the field documentation. -
putAllExtraParam
public OutboundTransferCreateParams.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. SeeOutboundTransferCreateParams.DestinationPaymentMethodOptions.extraParams
for the field documentation. -
setUsBankAccount
public OutboundTransferCreateParams.DestinationPaymentMethodOptions.Builder setUsBankAccount(OutboundTransferCreateParams.DestinationPaymentMethodOptions.UsBankAccount usBankAccount) Optional fields forus_bank_account
. -
setUsBankAccount
public OutboundTransferCreateParams.DestinationPaymentMethodOptions.Builder setUsBankAccount(EmptyParam usBankAccount) Optional fields forus_bank_account
.
-