Class: ChannelAdvisor::ShippingServiceSOAP::LineItem

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/shipping_service/types.rb

Overview

/LineItem

sKU - SOAP::SOAPString
quantity - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#quantityObject

Returns the value of attribute quantity.



232
233
234
# File 'lib/channel_advisor/shipping_service/types.rb', line 232

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU.



231
232
233
# File 'lib/channel_advisor/shipping_service/types.rb', line 231

def sKU
  @sKU
end