Package com.stripe.param.treasury
Class OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder
java.lang.Object
com.stripe.param.treasury.OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder
public static class OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder
extends Object
-
Constructor Summary
-
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.City, district, suburb, town, or village.setCountry
(String country) Two-letter country code (ISO 3166-1 alpha-2).Address line 1 (e.g., street, PO Box, or company name).Address line 2 (e.g., apartment, suite, unit, or building).setPostalCode
(String postalCode) ZIP or postal code.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCity
public OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder setCity(String city) City, district, suburb, town, or village. -
setCountry
public OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder setCountry(String country) Two-letter country code (ISO 3166-1 alpha-2). -
putExtraParam
public OutboundPaymentCreateParams.DestinationPaymentMethodData.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. SeeOutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.extraParams
for the field documentation. -
putAllExtraParam
public OutboundPaymentCreateParams.DestinationPaymentMethodData.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. SeeOutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.extraParams
for the field documentation. -
setLine1
public OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder setLine1(String line1) Address line 1 (e.g., street, PO Box, or company name). -
setLine2
public OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder setLine2(String line2) Address line 2 (e.g., apartment, suite, unit, or building). -
setPostalCode
public OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder setPostalCode(String postalCode) ZIP or postal code. -
setState
public OutboundPaymentCreateParams.DestinationPaymentMethodData.BillingDetails.Address.Builder setState(String state)
-