Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival
public static class PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setAirport(EmptyParam airport) Required. Arrival airport IATA code.setAirport(String airport) Required. Arrival airport IATA code.setArrivesAt(Long arrivesAt) Arrival date/time.setCity(EmptyParam city) Arrival city.Arrival city.setCountry(EmptyParam country) Arrival country.setCountry(String country) Arrival country.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAirport
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setAirport(String airport) Required. Arrival airport IATA code. -
setAirport
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setAirport(EmptyParam airport) Required. Arrival airport IATA code. -
setArrivesAt
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setArrivesAt(Long arrivesAt) Arrival date/time. -
setCity
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCity(String city) Arrival city. -
setCity
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCity(EmptyParam city) Arrival city. -
setCountry
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCountry(String country) Arrival country. -
setCountry
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCountry(EmptyParam country) Arrival country. -
putExtraParam
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.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.PaymentDetails.FlightData.Segment.Arrival.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival.Builder putAllExtraParam(Map<String, Object> map)
-