Package com.stripe.param
Class OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder
- Enclosing class:
- OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address
public static class OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder
extends Object
-
Constructor Summary
Constructors -
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.setCity(EmptyParam city) The city or town.The city or town.setCountry(EmptyParam country) The country in ISO 3166-1 alpha-2 format.setCountry(String country) The country in ISO 3166-1 alpha-2 format.setPostalCode(EmptyParam postalCode) The postal code formatted according to country.setPostalCode(String postalCode) The postal code formatted according to country.setRegion(EmptyParam region) The state, county, province, or region formatted according to country.The state, county, province, or region formatted according to country.setStreetAddress(EmptyParam streetAddress) Line 1 of the street address.setStreetAddress(String streetAddress) Line 1 of the street address.setStreetAddress2(EmptyParam streetAddress2) Line 2 of the street address.setStreetAddress2(String streetAddress2) Line 2 of the street address.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address build()Finalize and obtain parameter instance from this builder. -
setCity
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setCity(String city) The city or town. -
setCity
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setCity(EmptyParam city) The city or town. -
setCountry
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setCountry(String country) The country in ISO 3166-1 alpha-2 format. -
setCountry
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setCountry(EmptyParam country) The country in ISO 3166-1 alpha-2 format. -
putExtraParam
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.extraParamsfor the field documentation. -
putAllExtraParam
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.extraParamsfor the field documentation. -
setPostalCode
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setPostalCode(String postalCode) The postal code formatted according to country. -
setPostalCode
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setPostalCode(EmptyParam postalCode) The postal code formatted according to country. -
setRegion
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setRegion(String region) The state, county, province, or region formatted according to country. -
setRegion
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setRegion(EmptyParam region) The state, county, province, or region formatted according to country. -
setStreetAddress
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setStreetAddress(String streetAddress) Line 1 of the street address. -
setStreetAddress
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setStreetAddress(EmptyParam streetAddress) Line 1 of the street address. -
setStreetAddress2
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setStreetAddress2(String streetAddress2) Line 2 of the street address. -
setStreetAddress2
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival.Address.Builder setStreetAddress2(EmptyParam streetAddress2) Line 2 of the street address.
-