Package com.stripe.param
Class PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder
java.lang.Object
com.stripe.param.PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder
- Enclosing class:
- PaymentIntentCaptureParams.PaymentDetails.FlightData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `insurances` list.Add all elements to `passengers` list.Add all elements to `segments` list.Add an element to `insurances` list.Add an element to `passengers` list.Add an element to `segments` list.build()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.Affiliate details if applicable.setBookingNumber(String bookingNumber) Reservation reference.setComputerizedReservationSystem(String computerizedReservationSystem) Computerized reservation system used to make the reservation and purchase the ticket.setEndorsementsAndRestrictions(String endorsementsAndRestrictions) Ticket restrictions.setTicketElectronicallyIssuedIndicator(Boolean ticketElectronicallyIssuedIndicator) Electronic ticket indicator.Required. Total cost breakdown.setTransactionType(PaymentIntentCaptureParams.PaymentDetails.FlightData.TransactionType transactionType) Type of flight transaction.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAffiliate
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setAffiliate(PaymentIntentCaptureParams.PaymentDetails.FlightData.Affiliate affiliate) Affiliate details if applicable. -
setBookingNumber
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setBookingNumber(String bookingNumber) Reservation reference. -
setComputerizedReservationSystem
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setComputerizedReservationSystem(String computerizedReservationSystem) Computerized reservation system used to make the reservation and purchase the ticket. -
setEndorsementsAndRestrictions
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setEndorsementsAndRestrictions(String endorsementsAndRestrictions) Ticket restrictions. -
putExtraParam
public PaymentIntentCaptureParams.PaymentDetails.FlightData.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. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCaptureParams.PaymentDetails.FlightData.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. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.extraParamsfor the field documentation. -
addInsurance
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder addInsurance(PaymentIntentCaptureParams.PaymentDetails.FlightData.Insurance element) Add an element to `insurances` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.insurancesfor the field documentation. -
addAllInsurance
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder addAllInsurance(List<PaymentIntentCaptureParams.PaymentDetails.FlightData.Insurance> elements) Add all elements to `insurances` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.insurancesfor the field documentation. -
addPassenger
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder addPassenger(PaymentIntentCaptureParams.PaymentDetails.FlightData.Passenger element) Add an element to `passengers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.passengersfor the field documentation. -
addAllPassenger
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder addAllPassenger(List<PaymentIntentCaptureParams.PaymentDetails.FlightData.Passenger> elements) Add all elements to `passengers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.passengersfor the field documentation. -
addSegment
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder addSegment(PaymentIntentCaptureParams.PaymentDetails.FlightData.Segment element) Add an element to `segments` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.segmentsfor the field documentation. -
addAllSegment
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder addAllSegment(List<PaymentIntentCaptureParams.PaymentDetails.FlightData.Segment> elements) Add all elements to `segments` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCaptureParams.PaymentDetails.FlightData.segmentsfor the field documentation. -
setTicketElectronicallyIssuedIndicator
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setTicketElectronicallyIssuedIndicator(Boolean ticketElectronicallyIssuedIndicator) Electronic ticket indicator. -
setTotal
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setTotal(PaymentIntentCaptureParams.PaymentDetails.FlightData.Total total) Required. Total cost breakdown. -
setTransactionType
public PaymentIntentCaptureParams.PaymentDetails.FlightData.Builder setTransactionType(PaymentIntentCaptureParams.PaymentDetails.FlightData.TransactionType transactionType) Type of flight transaction.
-