Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment
public static class PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.Segment fare amount.Required. Arrival details.setCarrierCode(EmptyParam carrierCode) Required. Airline carrier code.setCarrierCode(String carrierCode) Required. Airline carrier code.setCarrierName(EmptyParam carrierName) Carrier name.setCarrierName(String carrierName) Carrier name.setCurrency(EmptyParam currency) Segment currency.setCurrency(String currency) Segment currency.Required. Departure details.setExchangeTicketNumber(EmptyParam exchangeTicketNumber) Exchange ticket number.setExchangeTicketNumber(String exchangeTicketNumber) Exchange ticket number.setFareBasisCode(EmptyParam fareBasisCode) Fare basis code.setFareBasisCode(String fareBasisCode) Fare basis code.Additional fees.setFlightNumber(EmptyParam flightNumber) Flight number.setFlightNumber(String flightNumber) Flight number.setIsStopOverIndicator(Boolean isStopOverIndicator) Stopover indicator.setRefundable(Boolean refundable) Refundable ticket indicator.setServiceClass(PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.ServiceClass serviceClass) Required. Class of service.setTaxAmount(Long taxAmount) Tax amount for segment.setTicketNumber(EmptyParam ticketNumber) Ticket number.setTicketNumber(String ticketNumber) Ticket number.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Segment fare amount. -
setArrival
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setArrival(PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Arrival arrival) Required. Arrival details. -
setCarrierCode
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setCarrierCode(String carrierCode) Required. Airline carrier code. -
setCarrierCode
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setCarrierCode(EmptyParam carrierCode) Required. Airline carrier code. -
setCarrierName
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setCarrierName(String carrierName) Carrier name. -
setCarrierName
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setCarrierName(EmptyParam carrierName) Carrier name. -
setCurrency
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setCurrency(String currency) Segment currency. -
setCurrency
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setCurrency(EmptyParam currency) Segment currency. -
setDeparture
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setDeparture(PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Departure departure) Required. Departure details. -
setExchangeTicketNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setExchangeTicketNumber(String exchangeTicketNumber) Exchange ticket number. -
setExchangeTicketNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setExchangeTicketNumber(EmptyParam exchangeTicketNumber) Exchange ticket number. -
putExtraParam
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.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.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs 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.extraParamsfor the field documentation. -
setFareBasisCode
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setFareBasisCode(String fareBasisCode) Fare basis code. -
setFareBasisCode
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setFareBasisCode(EmptyParam fareBasisCode) Fare basis code. -
setFees
Additional fees. -
setFlightNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setFlightNumber(String flightNumber) Flight number. -
setFlightNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setFlightNumber(EmptyParam flightNumber) Flight number. -
setIsStopOverIndicator
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setIsStopOverIndicator(Boolean isStopOverIndicator) Stopover indicator. -
setRefundable
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setRefundable(Boolean refundable) Refundable ticket indicator. -
setServiceClass
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setServiceClass(PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.ServiceClass serviceClass) Required. Class of service. -
setTaxAmount
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setTaxAmount(Long taxAmount) Tax amount for segment. -
setTicketNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setTicketNumber(String ticketNumber) Ticket number. -
setTicketNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Segment.Builder setTicketNumber(EmptyParam ticketNumber) Ticket number.
-