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)

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

- (Object) quantity

Returns the value of attribute quantity



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

def quantity
  @quantity
end

- (Object) salePrice

Returns the value of attribute salePrice



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

def salePrice
  @salePrice
end

- (Object) sKU

Returns the value of attribute sKU



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

def sKU
  @sKU
end