Class: ChannelAdvisor::InventoryServiceSOAP::InventoryItemQuantityAndPrice

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

Overview

/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

Returns a new instance of InventoryItemQuantityAndPrice.



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

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.



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

def priceInfo
  @priceInfo
end

#quantityInfoObject

Returns the value of attribute quantityInfo.



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

def quantityInfo
  @quantityInfo
end

#skuObject

Returns the value of attribute sku.



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

def sku
  @sku
end