Class: ChannelAdvisor::ShippingServiceSOAP::LineItem

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

Overview

http://api.channeladvisor.com/webservices/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


235
236
237
238
# File 'lib/channel_advisor/shipping_service/types.rb', line 235

def initialize(sKU = nil, quantity = nil)
  @sKU = sKU
  @quantity = quantity
end

Instance Attribute Details

#quantityObject

Returns the value of attribute quantity


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

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU


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

def sKU
  @sKU
end