Package com.stripe.param
Class PaymentLinkCreateParams.ShippingAddressCollection.Builder
- java.lang.Object
-
- com.stripe.param.PaymentLinkCreateParams.ShippingAddressCollection.Builder
-
- Enclosing class:
- PaymentLinkCreateParams.ShippingAddressCollection
public static class PaymentLinkCreateParams.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 PaymentLinkCreateParams.ShippingAddressCollection.Builder
addAllAllowedCountry(java.util.List<PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry> elements)
Add all elements to `allowedCountries` list.PaymentLinkCreateParams.ShippingAddressCollection.Builder
addAllowedCountry(PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry element)
Add an element to `allowedCountries` list.PaymentLinkCreateParams.ShippingAddressCollection
build()
Finalize and obtain parameter instance from this builder.PaymentLinkCreateParams.ShippingAddressCollection.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentLinkCreateParams.ShippingAddressCollection.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.
-
-
-
Method Detail
-
build
public PaymentLinkCreateParams.ShippingAddressCollection 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(java.util.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(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. SeePaymentLinkCreateParams.ShippingAddressCollection.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.ShippingAddressCollection.extraParams
for the field documentation.
-
-