Package com.stripe.param.issuing
Class CardCreateParams.Shipping.Address.Builder
java.lang.Object
com.stripe.param.issuing.CardCreateParams.Shipping.Address.Builder
- Enclosing class:
- CardCreateParams.Shipping.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.Required. City, district, suburb, town, or village.setCountry
(String country) Required. Two-letter country code (ISO 3166-1 alpha-2).Required. Address line 1 (e.g., street, PO Box, or company name).Address line 2 (e.g., apartment, suite, unit, or building).setPostalCode
(String postalCode) Required. ZIP or postal code.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCity
Required. City, district, suburb, town, or village. -
setCountry
Required. 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. SeeCardCreateParams.Shipping.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. SeeCardCreateParams.Shipping.Address.extraParams
for the field documentation. -
setLine1
Required. Address line 1 (e.g., street, PO Box, or company name). -
setLine2
Address line 2 (e.g., apartment, suite, unit, or building). -
setPostalCode
Required. ZIP or postal code. -
setState
-