Package com.stripe.param.treasury
Class ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.Builder
java.lang.Object
com.stripe.param.treasury.ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.Builder
- Enclosing class:
- ReceivedDebitCreateParams.InitiatingPaymentMethodDetails
-
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.Required. The source type.setUsBankAccount
(ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.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 ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.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. SeeReceivedDebitCreateParams.InitiatingPaymentMethodDetails.extraParams
for the field documentation. -
putAllExtraParam
public ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.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. SeeReceivedDebitCreateParams.InitiatingPaymentMethodDetails.extraParams
for the field documentation. -
setType
public ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.Builder setType(ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.Type type) Required. The source type. -
setUsBankAccount
public ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.Builder setUsBankAccount(ReceivedDebitCreateParams.InitiatingPaymentMethodDetails.UsBankAccount usBankAccount) Optional fields forus_bank_account
.
-