Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Package
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Package
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#dimensions ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDimensions
readonly
Returns the value of attribute dimensions.
-
#hazmat_labels ⇒ Array[String]?
readonly
Returns the value of attribute hazmat_labels.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#package_handling_requirements ⇒ String?
readonly
Returns the value of attribute package_handling_requirements.
-
#package_line_items ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PackageLineItem]
readonly
Returns the value of attribute package_line_items.
-
#status ⇒ String?
readonly
Returns the value of attribute status.
-
#weight ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
readonly
Returns the value of attribute weight.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :dimensions, :id, :package_line_items, :weight, :hazmat_labels, :package_handling_requirements, :status ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#dimensions ⇒ Peddler::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_labels ⇒ Array[String]? (readonly)
Returns the value of attribute hazmat_labels.
466 467 468 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 466 def hazmat_labels @hazmat_labels end |
#id ⇒ String (readonly)
Returns the value of attribute id.
467 468 469 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 467 def id @id end |
#package_handling_requirements ⇒ String? (readonly)
Returns the value of attribute package_handling_requirements.
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_items ⇒ Array[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 |
#status ⇒ String? (readonly)
Returns the value of attribute status.
470 471 472 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 470 def status @status end |
#weight ⇒ Peddler::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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package
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 ]
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? }
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? }
|