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