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.
503 504 505 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 503 def dimensions @dimensions end |
#hazmat_labels ⇒ Array[String]? (readonly)
Returns the value of attribute hazmat_labels.
504 505 506 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 504 def hazmat_labels @hazmat_labels end |
#id ⇒ String (readonly)
Returns the value of attribute id.
505 506 507 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 505 def id @id end |
#package_handling_requirements ⇒ String? (readonly)
Returns the value of attribute package_handling_requirements.
506 507 508 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 506 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.
507 508 509 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 507 def package_line_items @package_line_items end |
#status ⇒ String? (readonly)
Returns the value of attribute status.
508 509 510 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 508 def status @status end |
#weight ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight (readonly)
Returns the value of attribute weight.
509 510 511 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 509 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
496 497 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 496
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 ]
499 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 499
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
494 495 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 494
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
501 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 501
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 ]
511 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 511
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? }
512 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 512
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? }
|