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