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