Class: Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#quantity ⇒ Integer?
readonly
Returns the value of attribute quantity.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :id, :quantity ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ String (readonly)
Returns the value of attribute id.
336 337 338 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 336 def id @id end |
#quantity ⇒ Integer? (readonly)
Returns the value of attribute quantity.
337 338 339 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 337 def quantity @quantity end |
Class Method Details
.[](id:, quantity:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
329 330 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 329
def self.[]: (id: String, ?quantity: Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
| (String, Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
|
.members ⇒ [ :id, :quantity ]
332 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 332
def self.members: () -> [ :id, :quantity ]
|
.new(id:, quantity:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
327 328 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 327
def self.new: (id: String, ?quantity: Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
| (String, Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
334 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 334
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
|
Instance Method Details
#members ⇒ [ :id, :quantity ]
339 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 339
def members: () -> [ :id, :quantity ]
|
#to_h ⇒ { id: String, quantity: Integer? }
340 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 340
def to_h: () -> { id: String, quantity: Integer? }
|