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.
429 430 431 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 429 def id @id end |
#quantity ⇒ Integer? (readonly)
Returns the value of attribute quantity.
430 431 432 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 430 def quantity @quantity end |
Class Method Details
.[](id:, quantity:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
422 423 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 422
def self.[]: (id: String, ?quantity: Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
| (String, Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
|
.members ⇒ [ :id, :quantity ]
425 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 425
def self.members: () -> [ :id, :quantity ]
|
.new(id:, quantity:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
420 421 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 420
def self.new: (id: String, ?quantity: Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
| (String, Integer?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
427 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 427
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::LineItem
|
Instance Method Details
#members ⇒ [ :id, :quantity ]
432 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 432
def members: () -> [ :id, :quantity ]
|
#to_h ⇒ { id: String, quantity: Integer? }
433 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 433
def to_h: () -> { id: String, quantity: Integer? }
|