Package com.stripe.param
Class ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder
java.lang.Object
com.stripe.param.ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder
- Enclosing class:
- ChargeCaptureParams.PaymentDetails.FlightData.Segment
-
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(String carrierCode) Required. Airline carrier code.setCarrierName(String carrierName) Carrier name.setCurrency(String currency) Segment currency.Required. Departure details.setExchangeTicketNumber(String exchangeTicketNumber) Exchange ticket number.setFareBasisCode(String fareBasisCode) Fare basis code.Additional fees.setFlightNumber(String flightNumber) Flight number.setIsStopOverIndicator(Boolean isStopOverIndicator) Stopover indicator.setRefundable(Boolean refundable) Refundable ticket indicator.Required. Class of service.setTaxAmount(Long taxAmount) Tax amount for segment.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 ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setArrival(ChargeCaptureParams.PaymentDetails.FlightData.Segment.Arrival arrival) Required. Arrival details. -
setCarrierCode
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setCarrierCode(String carrierCode) Required. Airline carrier code. -
setCarrierName
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setCarrierName(String carrierName) Carrier name. -
setCurrency
Segment currency. -
setDeparture
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setDeparture(ChargeCaptureParams.PaymentDetails.FlightData.Segment.Departure departure) Required. Departure details. -
setExchangeTicketNumber
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setExchangeTicketNumber(String exchangeTicketNumber) Exchange ticket number. -
putExtraParam
public ChargeCaptureParams.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. SeeChargeCaptureParams.PaymentDetails.FlightData.Segment.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeCaptureParams.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. SeeChargeCaptureParams.PaymentDetails.FlightData.Segment.extraParamsfor the field documentation. -
setFareBasisCode
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setFareBasisCode(String fareBasisCode) Fare basis code. -
setFees
Additional fees. -
setFlightNumber
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setFlightNumber(String flightNumber) Flight number. -
setIsStopOverIndicator
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setIsStopOverIndicator(Boolean isStopOverIndicator) Stopover indicator. -
setRefundable
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setRefundable(Boolean refundable) Refundable ticket indicator. -
setServiceClass
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setServiceClass(ChargeCaptureParams.PaymentDetails.FlightData.Segment.ServiceClass serviceClass) Required. Class of service. -
setTaxAmount
Tax amount for segment. -
setTicketNumber
public ChargeCaptureParams.PaymentDetails.FlightData.Segment.Builder setTicketNumber(String ticketNumber) Ticket number.
-