Class: Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vendor_shipments_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#carton_countInteger? (readonly)

Returns the value of attribute carton_count.

Returns:

  • (Integer, nil)


717
718
719
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 717

def carton_count
  @carton_count
end

#gross_shipment_weightPeddler::APIs::VendorShipmentsV1::Weight? (readonly)

Returns the value of attribute gross_shipment_weight.



718
719
720
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 718

def gross_shipment_weight
  @gross_shipment_weight
end

#pallet_countInteger? (readonly)

Returns the value of attribute pallet_count.

Returns:

  • (Integer, nil)


719
720
721
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 719

def pallet_count
  @pallet_count
end

#shipment_volumePeddler::APIs::VendorShipmentsV1::Volume? (readonly)

Returns the value of attribute shipment_volume.



720
721
722
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 720

def shipment_volume
  @shipment_volume
end

Class Method Details

.[](carton_count:, gross_shipment_weight:, pallet_count:, shipment_volume:) ⇒ Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements

Overloads:



710
711
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 710

def self.[]: (?carton_count: Integer?, ?gross_shipment_weight: Peddler::APIs::VendorShipmentsV1::Weight?, ?pallet_count: Integer?, ?shipment_volume: Peddler::APIs::VendorShipmentsV1::Volume?) -> Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements
| (Integer?, Peddler::APIs::VendorShipmentsV1::Weight?, Integer?, Peddler::APIs::VendorShipmentsV1::Volume?) -> Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements

.members[ :carton_count, :gross_shipment_weight, :pallet_count, :shipment_volume ]

Returns:

  • ([ :carton_count, :gross_shipment_weight, :pallet_count, :shipment_volume ])


713
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 713

def self.members: () -> [ :carton_count, :gross_shipment_weight, :pallet_count, :shipment_volume ]

.new(carton_count:, gross_shipment_weight:, pallet_count:, shipment_volume:) ⇒ Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements

Overloads:



708
709
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 708

def self.new: (?carton_count: Integer?, ?gross_shipment_weight: Peddler::APIs::VendorShipmentsV1::Weight?, ?pallet_count: Integer?, ?shipment_volume: Peddler::APIs::VendorShipmentsV1::Volume?) -> Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements
| (Integer?, Peddler::APIs::VendorShipmentsV1::Weight?, Integer?, Peddler::APIs::VendorShipmentsV1::Volume?) -> Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements

.parsePeddler::APIs::VendorShipmentsV1::ShipmentMeasurements

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



715
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 715

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::ShipmentMeasurements

Instance Method Details

#members[ :carton_count, :gross_shipment_weight, :pallet_count, :shipment_volume ]

Returns:

  • ([ :carton_count, :gross_shipment_weight, :pallet_count, :shipment_volume ])


722
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 722

def members: () -> [ :carton_count, :gross_shipment_weight, :pallet_count, :shipment_volume ]

#to_h{ carton_count: Integer?, gross_shipment_weight: Peddler::APIs::VendorShipmentsV1::Weight?, pallet_count: Integer?, shipment_volume: Peddler::APIs::VendorShipmentsV1::Volume? }

Returns:



723
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 723

def to_h: () -> { carton_count: Integer?, gross_shipment_weight: Peddler::APIs::VendorShipmentsV1::Weight?, pallet_count: Integer?, shipment_volume: Peddler::APIs::VendorShipmentsV1::Volume? }