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

- (InventoryUpsellChildInfo) initialize(sKU = nil, quantity = nil, salePrice = nil)



1099
1100
1101
1102
1103
# File 'lib/channel_advisor/inventory_service/types.rb', line 1099

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

Instance Attribute Details

- (Object) quantity

Returns the value of attribute quantity



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

def quantity
  @quantity
end

- (Object) salePrice

Returns the value of attribute salePrice



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

def salePrice
  @salePrice
end

- (Object) sKU

Returns the value of attribute sKU



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

def sKU
  @sKU
end