Class: Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
- Defined in:
- sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs
Instance Attribute Summary collapse
-
#amount ⇒ Integer
readonly
Returns the value of attribute amount.
-
#unit_of_measure ⇒ String
readonly
Returns the value of attribute unit_of_measure.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :amount, :unit_of_measure ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Integer (readonly)
Returns the value of attribute amount.
263 264 265 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 263 def amount @amount end |
#unit_of_measure ⇒ String (readonly)
Returns the value of attribute unit_of_measure.
264 265 266 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 264 def unit_of_measure @unit_of_measure end |
Class Method Details
.[](amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity .[](arg0, arg1) ⇒ Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
256 257 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 256
def self.[]: (amount: Integer, unit_of_measure: String) -> Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
| (Integer, String) -> Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
|
.members ⇒ [ :amount, :unit_of_measure ]
259 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 259
def self.members: () -> [ :amount, :unit_of_measure ]
|
.new(amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity .new(arg0, arg1) ⇒ Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
254 255 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 254
def self.new: (amount: Integer, unit_of_measure: String) -> Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
| (Integer, String) -> Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
|
.parse ⇒ Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
261 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 261
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorDirectFulfillmentShippingV1::ItemQuantity
|
Instance Method Details
#members ⇒ [ :amount, :unit_of_measure ]
266 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 266
def members: () -> [ :amount, :unit_of_measure ]
|
#to_h ⇒ { amount: Integer, unit_of_measure: String }
267 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs', line 267
def to_h: () -> { amount: Integer, unit_of_measure: String }
|