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