Class RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder
public static class RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.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) Required. City, district, suburb, town, or village.Required. City, district, suburb, town, or village.setCountry(EmptyParam country) Required. Two-letter country code (ISO 3166-1 alpha-2).setCountry(String country) Required. Two-letter country code (ISO 3166-1 alpha-2).setLine1(EmptyParam line1) Required. Address line 1, such as the street, PO Box, or company name.Required. Address line 1, such as the street, PO Box, or company name.setLine2(EmptyParam line2) Address line 2, such as the apartment, suite, unit, or building.Address line 2, such as the apartment, suite, unit, or building.setPostalCode(EmptyParam postalCode) Required. ZIP or postal code.setPostalCode(String postalCode) Required. ZIP or postal code.setState(EmptyParam state) Required. State, county, province, or region.Required. State, county, province, or region.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCity
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setCity(String city) Required. City, district, suburb, town, or village. -
setCity
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setCity(EmptyParam city) Required. City, district, suburb, town, or village. -
setCountry
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setCountry(String country) Required. Two-letter country code (ISO 3166-1 alpha-2). -
setCountry
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setCountry(EmptyParam country) Required. Two-letter country code (ISO 3166-1 alpha-2). -
putExtraParam
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.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. SeeRequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.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. SeeRequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.extraParamsfor the field documentation. -
setLine1
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setLine1(String line1) Required. Address line 1, such as the street, PO Box, or company name. -
setLine1
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setLine1(EmptyParam line1) Required. Address line 1, such as the street, PO Box, or company name. -
setLine2
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setLine2(String line2) Address line 2, such as the apartment, suite, unit, or building. -
setLine2
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setLine2(EmptyParam line2) Address line 2, such as the apartment, suite, unit, or building. -
setPostalCode
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setPostalCode(String postalCode) Required. ZIP or postal code. -
setPostalCode
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setPostalCode(EmptyParam postalCode) Required. ZIP or postal code. -
setState
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setState(String state) Required. State, county, province, or region. -
setState
public RequestedSessionUpdateParams.PaymentMethodData.BillingDetails.Address.Builder setState(EmptyParam state) Required. State, county, province, or region.
-