class Google::Apis::QpxExpressV1::TripOption
Trip information.
Attributes
Identifier uniquely identifying this trip in a response. Corresponds to the JSON property `id` @return [String]
Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption. Corresponds to the JSON property `kind` @return [String]
Per passenger pricing information. Corresponds to the JSON property `pricing` @return [Array<Google::Apis::QpxExpressV1::PricingInfo>]
The total price for all passengers on the trip, in the form of a currency followed by an amount, e.g. USD253.35. Corresponds to the JSON property `saleTotal` @return [String]
The slices that make up this trip's itinerary. Corresponds to the JSON property `slice` @return [Array<Google::Apis::QpxExpressV1::SliceInfo>]
Public Class Methods
# File generated/google/apis/qpx_express_v1/classes.rb, line 1109 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/qpx_express_v1/classes.rb, line 1114 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @pricing = args[:pricing] if args.key?(:pricing) @sale_total = args[:sale_total] if args.key?(:sale_total) @slice = args[:slice] if args.key?(:slice) end