Package com.stripe.param.treasury
Class FinancialAccountUpdateParams.ForwardingSettings.Builder
java.lang.Object
com.stripe.param.treasury.FinancialAccountUpdateParams.ForwardingSettings.Builder
- Enclosing class:
- FinancialAccountUpdateParams.ForwardingSettings
-
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
(EmptyParam financialAccount) The financial_account id.setFinancialAccount
(String financialAccount) The financial_account id.setPaymentMethod
(EmptyParam paymentMethod) The payment_method or bank account id.setPaymentMethod
(String paymentMethod) The payment_method or bank account id.Required. The type of the bank account provided.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public FinancialAccountUpdateParams.ForwardingSettings.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. SeeFinancialAccountUpdateParams.ForwardingSettings.extraParams
for the field documentation. -
putAllExtraParam
public FinancialAccountUpdateParams.ForwardingSettings.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. SeeFinancialAccountUpdateParams.ForwardingSettings.extraParams
for the field documentation. -
setFinancialAccount
public FinancialAccountUpdateParams.ForwardingSettings.Builder setFinancialAccount(String financialAccount) The financial_account id. -
setFinancialAccount
public FinancialAccountUpdateParams.ForwardingSettings.Builder setFinancialAccount(EmptyParam financialAccount) The financial_account id. -
setPaymentMethod
public FinancialAccountUpdateParams.ForwardingSettings.Builder setPaymentMethod(String paymentMethod) The payment_method or bank account id. This needs to be a verified bank account. -
setPaymentMethod
public FinancialAccountUpdateParams.ForwardingSettings.Builder setPaymentMethod(EmptyParam paymentMethod) The payment_method or bank account id. This needs to be a verified bank account. -
setType
public FinancialAccountUpdateParams.ForwardingSettings.Builder setType(FinancialAccountUpdateParams.ForwardingSettings.Type type) Required. The type of the bank account provided. This can be either "financial_account" or "payment_method"
-