class Google::Apis::QpxExpressV1::SegmentPricing
The price of this segment.
Attributes
fare_id[RW]
A segment identifier unique within a single solution. It is used to refer to different parts of the same solution. Corresponds to the JSON property `fareId` @return [String]
free_baggage_option[RW]
Details of the free baggage allowance on this segment. Corresponds to the JSON property `freeBaggageOption` @return [Array<Google::Apis::QpxExpressV1::FreeBaggageAllowance>]
kind[RW]
Identifies this as a segment pricing object, representing the price of this segment. Value: the fixed string qpxexpress#segmentPricing. Corresponds to the JSON property `kind` @return [String]
segment_id[RW]
Unique identifier in the response of this segment. Corresponds to the JSON property `segmentId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/qpx_express_v1/classes.rb, line 823 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 828 def update!(**args) @fare_id = args[:fare_id] if args.key?(:fare_id) @free_baggage_option = args[:free_baggage_option] if args.key?(:free_baggage_option) @kind = args[:kind] if args.key?(:kind) @segment_id = args[:segment_id] if args.key?(:segment_id) end