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.
411 412 413 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 411 def dimensions @dimensions end |
#hazmat_labels ⇒ Array[String]? (readonly)
Returns the value of attribute hazmat_labels.
412 413 414 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 412 def hazmat_labels @hazmat_labels end |
#id ⇒ String (readonly)
Returns the value of attribute id.
413 414 415 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 413 def id @id end |
#package_handling_requirements ⇒ String? (readonly)
Returns the value of attribute package_handling_requirements.
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_items ⇒ Array[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 |
#status ⇒ String? (readonly)
Returns the value of attribute status.
416 417 418 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 416 def status @status end |
#weight ⇒ Peddler::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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Package
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 ]
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? }
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? }
|