Class FinancialAddressCreateParams.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.FinancialAddressCreateParams.Builder
- Enclosing class:
- FinancialAddressCreateParams
-
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.Required. Open Enum.setFinancialAccount
(String financialAccount) Required. The ID of the FinancialAccount the new FinancialAddress should be associated with.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCurrency
public FinancialAddressCreateParams.Builder setCurrency(FinancialAddressCreateParams.Currency currency) Required. Open Enum. The currency the FinancialAddress should support. Currently, only theusd
andgbp
values are supported. -
putExtraParam
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. SeeFinancialAddressCreateParams.extraParams
for the field documentation. -
putAllExtraParam
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. SeeFinancialAddressCreateParams.extraParams
for the field documentation. -
setFinancialAccount
Required. The ID of the FinancialAccount the new FinancialAddress should be associated with.
-