Class: ChannelAdvisor::InventoryServiceSOAP::InventoryUpsellChildInfo

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

Overview

/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

Returns a new instance of InventoryUpsellChildInfo.



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

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.



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

def quantity
  @quantity
end

#salePriceObject

Returns the value of attribute salePrice.



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

def salePrice
  @salePrice
end

#sKUObject

Returns the value of attribute sKU.



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

def sKU
  @sKU
end