Package com.stripe.param.treasury
Class OutboundTransferCreateParams.DestinationPaymentMethodData.Builder
java.lang.Object
com.stripe.param.treasury.OutboundTransferCreateParams.DestinationPaymentMethodData.Builder
- Enclosing class:
- OutboundTransferCreateParams.DestinationPaymentMethodData
public static class OutboundTransferCreateParams.DestinationPaymentMethodData.Builder
extends Object
-
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.setFinancialAccount
(String financialAccount) Required if type is set tofinancial_account
.Required. The type of the destination.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public OutboundTransferCreateParams.DestinationPaymentMethodData.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.DestinationPaymentMethodData.extraParams
for the field documentation. -
putAllExtraParam
public OutboundTransferCreateParams.DestinationPaymentMethodData.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.DestinationPaymentMethodData.extraParams
for the field documentation. -
setFinancialAccount
public OutboundTransferCreateParams.DestinationPaymentMethodData.Builder setFinancialAccount(String financialAccount) Required if type is set tofinancial_account
. The FinancialAccount ID to send funds to. -
setType
public OutboundTransferCreateParams.DestinationPaymentMethodData.Builder setType(OutboundTransferCreateParams.DestinationPaymentMethodData.Type type) Required. The type of the destination.
-