Class: ChannelAdvisor::InventoryServiceSOAP::InventoryQuantityResponse

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

Overview

/InventoryQuantityResponse

sKU - SOAP::SOAPString
quantity - SOAP::SOAPInt
messageCode - ChannelAdvisor::InventoryServiceSOAP::ErrorCode
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sKU = nil, quantity = nil, messageCode = nil, message = nil) ⇒ InventoryQuantityResponse

Returns a new instance of InventoryQuantityResponse.



793
794
795
796
797
798
# File 'lib/channel_advisor/inventory_service/types.rb', line 793

def initialize(sKU = nil, quantity = nil, messageCode = nil, message = nil)
  @sKU = sKU
  @quantity = quantity
  @messageCode = messageCode
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



791
792
793
# File 'lib/channel_advisor/inventory_service/types.rb', line 791

def message
  @message
end

#messageCodeObject

Returns the value of attribute messageCode.



790
791
792
# File 'lib/channel_advisor/inventory_service/types.rb', line 790

def messageCode
  @messageCode
end

#quantityObject

Returns the value of attribute quantity.



789
790
791
# File 'lib/channel_advisor/inventory_service/types.rb', line 789

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU.



788
789
790
# File 'lib/channel_advisor/inventory_service/types.rb', line 788

def sKU
  @sKU
end