Class: Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
- Defined in:
- sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.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::VendorDirectFulfillmentShipping20211228::ItemQuantity
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Integer (readonly)
Returns the value of attribute amount.
245 246 247 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 245 def amount @amount end |
#unit_of_measure ⇒ String (readonly)
Returns the value of attribute unit_of_measure.
246 247 248 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 246 def unit_of_measure @unit_of_measure end |
Class Method Details
.[](amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity .[](arg0, arg1) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
238 239 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 238
def self.[]: (amount: Integer, unit_of_measure: String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
| (Integer, String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
|
.members ⇒ [ :amount, :unit_of_measure ]
241 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 241
def self.members: () -> [ :amount, :unit_of_measure ]
|
.new(amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity .new(arg0, arg1) ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
236 237 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 236
def self.new: (amount: Integer, unit_of_measure: String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
| (Integer, String) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
|
.parse ⇒ Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
243 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 243
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorDirectFulfillmentShipping20211228::ItemQuantity
|
Instance Method Details
#members ⇒ [ :amount, :unit_of_measure ]
248 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 248
def members: () -> [ :amount, :unit_of_measure ]
|
#to_h ⇒ { amount: Integer, unit_of_measure: String }
249 |
# File 'sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs', line 249
def to_h: () -> { amount: Integer, unit_of_measure: String }
|