Package com.stripe.param
Class PaymentLinkCreateParams.ShippingAddressCollection.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.ShippingAddressCollection.Builder
- Enclosing class:
- PaymentLinkCreateParams.ShippingAddressCollection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedCountry
(List<PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry> elements) Add 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 PaymentLinkCreateParams.ShippingAddressCollection.Builder addAllowedCountry(PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.ShippingAddressCollection.allowedCountries
for the field documentation. -
addAllAllowedCountry
public PaymentLinkCreateParams.ShippingAddressCollection.Builder addAllAllowedCountry(List<PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.ShippingAddressCollection.allowedCountries
for the field documentation. -
putExtraParam
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.ShippingAddressCollection.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.ShippingAddressCollection.extraParams
for the field documentation.
-