Class: PurolatorWebServices::Soap::Rate

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

Overview

/Rate

shipMethod - SOAP::SOAPString
estimatedDeliveryDate - SOAP::SOAPDateTime
estimatedRate - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shipMethod = nil, estimatedDeliveryDate = nil, estimatedRate = nil) ⇒ Rate

Returns a new instance of Rate.



857
858
859
860
861
# File 'lib/purolator_web_services/soap/default.rb', line 857

def initialize(shipMethod = nil, estimatedDeliveryDate = nil, estimatedRate = nil)
  @shipMethod = shipMethod
  @estimatedDeliveryDate = estimatedDeliveryDate
  @estimatedRate = estimatedRate
end

Instance Attribute Details

#estimatedDeliveryDateObject

Returns the value of attribute estimatedDeliveryDate.



854
855
856
# File 'lib/purolator_web_services/soap/default.rb', line 854

def estimatedDeliveryDate
  @estimatedDeliveryDate
end

#estimatedRateObject

Returns the value of attribute estimatedRate.



855
856
857
# File 'lib/purolator_web_services/soap/default.rb', line 855

def estimatedRate
  @estimatedRate
end

#shipMethodObject

Returns the value of attribute shipMethod.



853
854
855
# File 'lib/purolator_web_services/soap/default.rb', line 853

def shipMethod
  @shipMethod
end