class Google::Apis::QpxExpressV1::TripOptionsRequest
A QPX Express search request, which will yield one or more solutions.
Attributes
Do not return solutions that cost more than this price. The alphabetical part of the price is in ISO 4217. The format, in regex, is [A-Z]`3`d+(.d+)? Example: $102.07 Corresponds to the JSON property `maxPrice` @return [String]
The number and type of passengers. Unfortunately the definition of an infant, child, adult, and senior citizen varies across carriers and reservation systems. Corresponds to the JSON property `passengers` @return [Google::Apis::QpxExpressV1::PassengerCounts]
Return only solutions with refundable fares. Corresponds to the JSON property `refundable` @return [Boolean]
Return only solutions with refundable fares. Corresponds to the JSON property `refundable` @return [Boolean]
IATA country code representing the point of sale. This determines the “ equivalent amount paid” currency for the ticket. Corresponds to the JSON property `saleCountry` @return [String]
The slices that make up the itinerary of this trip. A slice represents a traveler's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using one slice, round-trips using two. An example of a one slice trip with three segments might be BOS-SYD, SYD-LAX, LAX-BOS if the traveler only stopped in SYD and LAX just long enough to change planes. Corresponds to the JSON property `slice` @return [Array<Google::Apis::QpxExpressV1::SliceInput>]
The number of solutions to return, maximum 500. Corresponds to the JSON property `solutions` @return [Fixnum]
Public Class Methods
# File generated/google/apis/qpx_express_v1/classes.rb, line 1168 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/qpx_express_v1/classes.rb, line 1173 def update!(**args) @max_price = args[:max_price] if args.key?(:max_price) @passengers = args[:passengers] if args.key?(:passengers) @refundable = args[:refundable] if args.key?(:refundable) @sale_country = args[:sale_country] if args.key?(:sale_country) @slice = args[:slice] if args.key?(:slice) @solutions = args[:solutions] if args.key?(:solutions) end