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