class Google::Apis::QpxExpressV1::TripOption

Trip information.

Attributes

id[RW]

Identifier uniquely identifying this trip in a response. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption. Corresponds to the JSON property `kind` @return [String]

pricing[RW]

Per passenger pricing information. Corresponds to the JSON property `pricing` @return [Array<Google::Apis::QpxExpressV1::PricingInfo>]

sale_total[RW]

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]

slice[RW]

The slices that make up this trip's itinerary. Corresponds to the JSON property `slice` @return [Array<Google::Apis::QpxExpressV1::SliceInfo>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/qpx_express_v1/classes.rb, line 1109
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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