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