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.



465
466
467
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 465

def dimensions
  @dimensions
end

#hazmat_labelsArray[String]? (readonly)

Returns the value of attribute hazmat_labels.

Returns:

  • (Array[String], nil)


466
467
468
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 466

def hazmat_labels
  @hazmat_labels
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


467
468
469
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 467

def id
  @id
end

#package_handling_requirementsString? (readonly)

Returns the value of attribute package_handling_requirements.

Returns:

  • (String, nil)


468
469
470
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 468

def package_handling_requirements
  @package_handling_requirements
end

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

Returns the value of attribute package_line_items.



469
470
471
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 469

def package_line_items
  @package_line_items
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


470
471
472
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 470

def status
  @status
end

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

Returns the value of attribute weight.



471
472
473
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 471

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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? }