Class: ChannelAdvisor::ShippingServiceSOAP::LineItem
- Inherits:
-
Object
- Object
- ChannelAdvisor::ShippingServiceSOAP::LineItem
- Defined in:
- lib/channel_advisor/shipping_service/types.rb
Overview
/LineItem
sKU - SOAP::SOAPString
quantity - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#sKU ⇒ Object
Returns the value of attribute sKU.
Instance Method Summary collapse
-
#initialize(sKU = nil, quantity = nil) ⇒ LineItem
constructor
A new instance of LineItem.
Constructor Details
#initialize(sKU = nil, quantity = nil) ⇒ LineItem
Returns a new instance of LineItem.
234 235 236 237 |
# File 'lib/channel_advisor/shipping_service/types.rb', line 234 def initialize(sKU = nil, quantity = nil) @sKU = sKU @quantity = quantity end |
Instance Attribute Details
#quantity ⇒ Object
Returns the value of attribute quantity.
232 233 234 |
# File 'lib/channel_advisor/shipping_service/types.rb', line 232 def quantity @quantity end |
#sKU ⇒ Object
Returns the value of attribute sKU.
231 232 233 |
# File 'lib/channel_advisor/shipping_service/types.rb', line 231 def sKU @sKU end |