Class: ChannelAdvisor::InventoryServiceSOAP::InventoryItemQuantityAndPrice

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

Overview

http://api.channeladvisor.com/webservices/InventoryItemQuantityAndPrice

sku - SOAP::SOAPString
quantityInfo - ChannelAdvisor::InventoryServiceSOAP::QuantityInfoSubmit
priceInfo - ChannelAdvisor::InventoryServiceSOAP::PriceInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sku = nil, quantityInfo = nil, priceInfo = nil) ⇒ InventoryItemQuantityAndPrice


1014
1015
1016
1017
1018
# File 'lib/channel_advisor/inventory_service/types.rb', line 1014

def initialize(sku = nil, quantityInfo = nil, priceInfo = nil)
  @sku = sku
  @quantityInfo = quantityInfo
  @priceInfo = priceInfo
end

Instance Attribute Details

#priceInfoObject

Returns the value of attribute priceInfo


1012
1013
1014
# File 'lib/channel_advisor/inventory_service/types.rb', line 1012

def priceInfo
  @priceInfo
end

#quantityInfoObject

Returns the value of attribute quantityInfo


1011
1012
1013
# File 'lib/channel_advisor/inventory_service/types.rb', line 1011

def quantityInfo
  @quantityInfo
end

#skuObject

Returns the value of attribute sku


1010
1011
1012
# File 'lib/channel_advisor/inventory_service/types.rb', line 1010

def sku
  @sku
end