Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival
public static class PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder setAirport(String airport) Required. Arrival airport IATA code. -
setArrivesAt
public PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder setArrivesAt(Long arrivesAt) Arrival date/time. -
setCity
public PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCity(String city) Arrival city. -
setCountry
public PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder setCountry(String country) Arrival country. -
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentDetails.FlightData.Segment.Arrival.Builder putAllExtraParam(Map<String, Object> map)
-