Class: PurolatorWebServices::Soap::AddItemRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/purolator_web_services/soap/default.rb

Overview

/AddItemRequest

credentials - PurolatorWebServices::Soap::CredentialInfo
orderNumber - SOAP::SOAPString
items - PurolatorWebServices::Soap::ArrayOfRequestItem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentials = nil, orderNumber = nil, items = nil) ⇒ AddItemRequest

Returns a new instance of AddItemRequest.



983
984
985
986
987
# File 'lib/purolator_web_services/soap/default.rb', line 983

def initialize(credentials = nil, orderNumber = nil, items = nil)
  @credentials = credentials
  @orderNumber = orderNumber
  @items = items
end

Instance Attribute Details

#credentialsObject

Returns the value of attribute credentials.



979
980
981
# File 'lib/purolator_web_services/soap/default.rb', line 979

def credentials
  @credentials
end

#itemsObject

Returns the value of attribute items.



981
982
983
# File 'lib/purolator_web_services/soap/default.rb', line 981

def items
  @items
end

#orderNumberObject

Returns the value of attribute orderNumber.



980
981
982
# File 'lib/purolator_web_services/soap/default.rb', line 980

def orderNumber
  @orderNumber
end