Package com.stripe.param.tax
Class SettingsUpdateParams.HeadOffice.Address.Builder
java.lang.Object
com.stripe.param.tax.SettingsUpdateParams.HeadOffice.Address.Builder
- Enclosing class:
- SettingsUpdateParams.HeadOffice.Address
-
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.setCity
(EmptyParam city) City, district, suburb, town, or village.City, district, suburb, town, or village.setCountry
(EmptyParam country) Two-letter country code (ISO 3166-1 alpha-2).setCountry
(String country) Two-letter country code (ISO 3166-1 alpha-2).setLine1
(EmptyParam line1) Address line 1 (e.g., street, PO Box, or company name).Address line 1 (e.g., street, PO Box, or company name).setLine2
(EmptyParam line2) Address line 2 (e.g., apartment, suite, unit, or building).Address line 2 (e.g., apartment, suite, unit, or building).setPostalCode
(EmptyParam postalCode) ZIP or postal code.setPostalCode
(String postalCode) ZIP or postal code.setState
(EmptyParam state) State/province as an ISO 3166-2 subdivision code, without country prefix.State/province as an ISO 3166-2 subdivision code, without country prefix.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCity
City, district, suburb, town, or village. -
setCity
City, district, suburb, town, or village. -
setCountry
Two-letter country code (ISO 3166-1 alpha-2). -
setCountry
Two-letter country code (ISO 3166-1 alpha-2). -
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. SeeSettingsUpdateParams.HeadOffice.Address.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. SeeSettingsUpdateParams.HeadOffice.Address.extraParams
for the field documentation. -
setLine1
Address line 1 (e.g., street, PO Box, or company name). -
setLine1
Address line 1 (e.g., street, PO Box, or company name). -
setLine2
Address line 2 (e.g., apartment, suite, unit, or building). -
setLine2
Address line 2 (e.g., apartment, suite, unit, or building). -
setPostalCode
ZIP or postal code. -
setPostalCode
ZIP or postal code. -
setState
State/province as an ISO 3166-2 subdivision code, without country prefix. Example: "NY" or "TX". -
setState
State/province as an ISO 3166-2 subdivision code, without country prefix. Example: "NY" or "TX".
-