Package com.stripe.param
Class PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival
public static class PaymentIntentCreateParams.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(String airport) Required. Arrival airport IATA code.setArrivesAt(Long arrivesAt) Arrival date/time.Arrival city.setCountry(String country) Arrival country.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAirport
public PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setAirport(String airport) Required. Arrival airport IATA code. -
setArrivesAt
public PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setArrivesAt(Long arrivesAt) Arrival date/time. -
setCity
public PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCity(String city) Arrival city. -
setCountry
public PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCountry(String country) Arrival country. -
putExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentDetails.FlightData.Segment.Arrival.Builder putAllExtraParam(Map<String, Object> map)
-