class Google::Apis::QpxExpressV1::FreeBaggageAllowance
Information about free baggage allowed on one segment of a trip.
Attributes
A representation of a type of bag, such as an ATPCo subcode, Commercial Name, or other description. Corresponds to the JSON property `bagDescriptor` @return [Array<Google::Apis::QpxExpressV1::BagDescriptor>]
The maximum number of kilos all the free baggage together may weigh. Corresponds to the JSON property `kilos` @return [Fixnum]
The maximum number of kilos any one piece of baggage may weigh. Corresponds to the JSON property `kilosPerPiece` @return [Fixnum]
Identifies this as free baggage object, allowed on one segment of a trip. Value: the fixed string qpxexpress#freeBaggageAllowance. Corresponds to the JSON property `kind` @return [String]
The number of free pieces of baggage allowed. Corresponds to the JSON property `pieces` @return [Fixnum]
The number of pounds of free baggage allowed. Corresponds to the JSON property `pounds` @return [Fixnum]
Public Class Methods
# File generated/google/apis/qpx_express_v1/classes.rb, line 395 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/qpx_express_v1/classes.rb, line 400 def update!(**args) @bag_descriptor = args[:bag_descriptor] if args.key?(:bag_descriptor) @kilos = args[:kilos] if args.key?(:kilos) @kilos_per_piece = args[:kilos_per_piece] if args.key?(:kilos_per_piece) @kind = args[:kind] if args.key?(:kind) @pieces = args[:pieces] if args.key?(:pieces) @pounds = args[:pounds] if args.key?(:pounds) end