Class: ChannelAdvisor::InventoryServiceSOAP::InventoryUpsellChildInfo
- Inherits:
-
Object
- Object
- ChannelAdvisor::InventoryServiceSOAP::InventoryUpsellChildInfo
- Defined in:
- lib/channel_advisor/inventory_service/types.rb
Overview
/InventoryUpsellChildInfo
sKU - SOAP::SOAPString
quantity - SOAP::SOAPInt
salePrice - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#salePrice ⇒ Object
Returns the value of attribute salePrice.
-
#sKU ⇒ Object
Returns the value of attribute sKU.
Instance Method Summary collapse
-
#initialize(sKU = nil, quantity = nil, salePrice = nil) ⇒ InventoryUpsellChildInfo
constructor
A new instance of InventoryUpsellChildInfo.
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
#quantity ⇒ Object
Returns the value of attribute quantity.
1093 1094 1095 |
# File 'lib/channel_advisor/inventory_service/types.rb', line 1093 def quantity @quantity end |
#salePrice ⇒ Object
Returns the value of attribute salePrice.
1094 1095 1096 |
# File 'lib/channel_advisor/inventory_service/types.rb', line 1094 def salePrice @salePrice end |
#sKU ⇒ Object
Returns the value of attribute sKU.
1092 1093 1094 |
# File 'lib/channel_advisor/inventory_service/types.rb', line 1092 def sKU @sKU end |