Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Package

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dimensionsPeddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions (readonly)

Returns the value of attribute dimensions.



411
412
413
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 411

def dimensions
  @dimensions
end

#hazmat_labelsArray[String]? (readonly)

Returns the value of attribute hazmat_labels.

Returns:

  • (Array[String], nil)


412
413
414
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 412

def hazmat_labels
  @hazmat_labels
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


413
414
415
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 413

def id
  @id
end

#package_handling_requirementsString? (readonly)

Returns the value of attribute package_handling_requirements.

Returns:

  • (String, nil)


414
415
416
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 414

def package_handling_requirements
  @package_handling_requirements
end

#package_line_itemsArray[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem] (readonly)

Returns the value of attribute package_line_items.



415
416
417
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 415

def package_line_items
  @package_line_items
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


416
417
418
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 416

def status
  @status
end

#weightPeddler::APIs::ExternalFulfillmentShipments20240911::Weight (readonly)

Returns the value of attribute weight.



417
418
419
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 417

def weight
  @weight
end

Class Method Details

.[](dimensions:, id:, package_line_items:, weight:, hazmat_labels:, package_handling_requirements:, status:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package

Overloads:



404
405
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 404

def self.[]: (dimensions: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions, id: String, package_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem], weight: Peddler::APIs::ExternalFulfillmentShipments20240911::Weight, ?hazmat_labels: Array[String]?, ?package_handling_requirements: String?, ?status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Package
| (Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions, String, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem], Peddler::APIs::ExternalFulfillmentShipments20240911::Weight, Array[String]?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Package

.members[ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ]

Returns:

  • ([ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ])


407
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 407

def self.members: () -> [ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ]

.new(dimensions:, id:, package_line_items:, weight:, hazmat_labels:, package_handling_requirements:, status:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package

Overloads:



402
403
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 402

def self.new: (dimensions: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions, id: String, package_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem], weight: Peddler::APIs::ExternalFulfillmentShipments20240911::Weight, ?hazmat_labels: Array[String]?, ?package_handling_requirements: String?, ?status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Package
| (Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions, String, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem], Peddler::APIs::ExternalFulfillmentShipments20240911::Weight, Array[String]?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Package

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Package

Parameters:

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

Returns:



409
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 409

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

Instance Method Details

#members[ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ]

Returns:

  • ([ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ])


419
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 419

def members: () -> [ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ]

#to_h{ dimensions: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions, id: String, package_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem], weight: Peddler::APIs::ExternalFulfillmentShipments20240911::Weight, hazmat_labels: Array[String]?, package_handling_requirements: String?, status: String? }

Returns:



420
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 420

def to_h: () -> { dimensions: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions, id: String, package_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem], weight: Peddler::APIs::ExternalFulfillmentShipments20240911::Weight, hazmat_labels: Array[String]?, package_handling_requirements: String?, status: String? }