Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder
- Enclosing class:
- PaymentIntentUpdateParams.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(EmptyParam bookingNumber) Reservation reference.setBookingNumber(String bookingNumber) Reservation reference.setComputerizedReservationSystem(EmptyParam computerizedReservationSystem) Computerized reservation system used to make the reservation and purchase the ticket.setComputerizedReservationSystem(String computerizedReservationSystem) Computerized reservation system used to make the reservation and purchase the ticket.setEndorsementsAndRestrictions(EmptyParam endorsementsAndRestrictions) Ticket restrictions.setEndorsementsAndRestrictions(String endorsementsAndRestrictions) Ticket restrictions.setTicketElectronicallyIssuedIndicator(Boolean ticketElectronicallyIssuedIndicator) Electronic ticket indicator.Required. Total cost breakdown.setTransactionType(PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setAffiliate(PaymentIntentUpdateParams.PaymentDetails.FlightData.Affiliate affiliate) Affiliate details if applicable. -
setBookingNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setBookingNumber(String bookingNumber) Reservation reference. -
setBookingNumber
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setBookingNumber(EmptyParam bookingNumber) Reservation reference. -
setComputerizedReservationSystem
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setComputerizedReservationSystem(String computerizedReservationSystem) Computerized reservation system used to make the reservation and purchase the ticket. -
setComputerizedReservationSystem
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setComputerizedReservationSystem(EmptyParam computerizedReservationSystem) Computerized reservation system used to make the reservation and purchase the ticket. -
setEndorsementsAndRestrictions
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setEndorsementsAndRestrictions(String endorsementsAndRestrictions) Ticket restrictions. -
setEndorsementsAndRestrictions
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setEndorsementsAndRestrictions(EmptyParam endorsementsAndRestrictions) Ticket restrictions. -
putExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.extraParamsfor the field documentation. -
addInsurance
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder addInsurance(PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.insurancesfor the field documentation. -
addAllInsurance
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder addAllInsurance(List<PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.insurancesfor the field documentation. -
addPassenger
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder addPassenger(PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.passengersfor the field documentation. -
addAllPassenger
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder addAllPassenger(List<PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.passengersfor the field documentation. -
addSegment
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder addSegment(PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.segmentsfor the field documentation. -
addAllSegment
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder addAllSegment(List<PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.FlightData.segmentsfor the field documentation. -
setTicketElectronicallyIssuedIndicator
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setTicketElectronicallyIssuedIndicator(Boolean ticketElectronicallyIssuedIndicator) Electronic ticket indicator. -
setTotal
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setTotal(PaymentIntentUpdateParams.PaymentDetails.FlightData.Total total) Required. Total cost breakdown. -
setTransactionType
public PaymentIntentUpdateParams.PaymentDetails.FlightData.Builder setTransactionType(PaymentIntentUpdateParams.PaymentDetails.FlightData.TransactionType transactionType) Type of flight transaction.
-