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