Package com.stripe.param.checkout
Class SessionCreateParams.ShippingAddressCollection.Builder
- java.lang.Object
-
- com.stripe.param.checkout.SessionCreateParams.ShippingAddressCollection.Builder
-
- Enclosing class:
- SessionCreateParams.ShippingAddressCollection
public static class SessionCreateParams.ShippingAddressCollection.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionCreateParams.ShippingAddressCollection.Builder
addAllAllowedCountry(java.util.List<SessionCreateParams.ShippingAddressCollection.AllowedCountry> elements)
Add all elements to `allowedCountries` list.SessionCreateParams.ShippingAddressCollection.Builder
addAllowedCountry(SessionCreateParams.ShippingAddressCollection.AllowedCountry element)
Add an element to `allowedCountries` list.SessionCreateParams.ShippingAddressCollection
build()
Finalize and obtain parameter instance from this builder.SessionCreateParams.ShippingAddressCollection.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SessionCreateParams.ShippingAddressCollection.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.
-
-
-
Method Detail
-
build
public SessionCreateParams.ShippingAddressCollection 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(java.util.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(java.lang.String key, java.lang.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(java.util.Map<java.lang.String,java.lang.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.
-
-