Class: ChannelAdvisor::InventoryServiceSOAP::InventoryUpsellChildInfo

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

Overview

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

sKU - SOAP::SOAPString
quantity - SOAP::SOAPInt
salePrice - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sKU = nil, quantity = nil, salePrice = nil) ⇒ InventoryUpsellChildInfo



1097
1098
1099
1100
1101
# File 'lib/channel_advisor/inventory_service/types.rb', line 1097

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

Instance Attribute Details

#quantityObject

Returns the value of attribute quantity



1094
1095
1096
# File 'lib/channel_advisor/inventory_service/types.rb', line 1094

def quantity
  @quantity
end

#salePriceObject

Returns the value of attribute salePrice



1095
1096
1097
# File 'lib/channel_advisor/inventory_service/types.rb', line 1095

def salePrice
  @salePrice
end

#sKUObject

Returns the value of attribute sKU



1093
1094
1095
# File 'lib/channel_advisor/inventory_service/types.rb', line 1093

def sKU
  @sKU
end