Class: Etapper::API::OrderDetail
- Inherits:
-
Object
- Object
- Etapper::API::OrderDetail
- Defined in:
- lib/etapper/api/service.rb
Overview
Instance Attribute Summary collapse
-
#itemName ⇒ Object
Returns the value of attribute itemName.
-
#itemRef ⇒ Object
Returns the value of attribute itemRef.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
Instance Method Summary collapse
-
#initialize(itemName = nil, itemRef = nil, quantity = nil) ⇒ OrderDetail
constructor
A new instance of OrderDetail.
Constructor Details
#initialize(itemName = nil, itemRef = nil, quantity = nil) ⇒ OrderDetail
Returns a new instance of OrderDetail.
293 294 295 296 297 |
# File 'lib/etapper/api/service.rb', line 293 def initialize(itemName = nil, itemRef = nil, quantity = nil) @itemName = itemName @itemRef = itemRef @quantity = quantity end |
Instance Attribute Details
#itemName ⇒ Object
Returns the value of attribute itemName.
289 290 291 |
# File 'lib/etapper/api/service.rb', line 289 def itemName @itemName end |
#itemRef ⇒ Object
Returns the value of attribute itemRef.
290 291 292 |
# File 'lib/etapper/api/service.rb', line 290 def itemRef @itemRef end |
#quantity ⇒ Object
Returns the value of attribute quantity.
291 292 293 |
# File 'lib/etapper/api/service.rb', line 291 def quantity @quantity end |