Package com.stripe.param.checkout
Class SessionCreateParams.ShippingAddressCollection.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.ShippingAddressCollection.Builder
- Enclosing class:
- SessionCreateParams.ShippingAddressCollection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `allowedCountries` list.Add an element to `allowedCountries` list.build()
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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAllowedCountry
public SessionCreateParams.ShippingAddressCollection.Builder addAllowedCountry(SessionCreateParams.ShippingAddressCollection.AllowedCountry element) Add an element to `allowedCountries` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.ShippingAddressCollection.allowedCountries
for the field documentation. -
addAllAllowedCountry
public SessionCreateParams.ShippingAddressCollection.Builder addAllAllowedCountry(List<SessionCreateParams.ShippingAddressCollection.AllowedCountry> elements) Add all elements to `allowedCountries` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.ShippingAddressCollection.allowedCountries
for the field documentation. -
putExtraParam
public SessionCreateParams.ShippingAddressCollection.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. SeeSessionCreateParams.ShippingAddressCollection.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.ShippingAddressCollection.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. SeeSessionCreateParams.ShippingAddressCollection.extraParams
for the field documentation.
-