Class: PurolatorWebServices::Soap::RateV3

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

Overview

/RateV3

shipMethod - SOAP::SOAPString
estimatedDeliveryDate - SOAP::SOAPDateTime
estimatedRate - SOAP::SOAPDecimal
isAvailable - SOAP::SOAPBoolean
rateDetails - PurolatorWebServices::Soap::ArrayOfKeyValueDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shipMethod = nil, estimatedDeliveryDate = nil, estimatedRate = nil, isAvailable = nil, rateDetails = nil) ⇒ RateV3

Returns a new instance of RateV3.



612
613
614
615
616
617
618
# File 'lib/purolator_web_services/soap/default.rb', line 612

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

Instance Attribute Details

#estimatedDeliveryDateObject

Returns the value of attribute estimatedDeliveryDate.



607
608
609
# File 'lib/purolator_web_services/soap/default.rb', line 607

def estimatedDeliveryDate
  @estimatedDeliveryDate
end

#estimatedRateObject

Returns the value of attribute estimatedRate.



608
609
610
# File 'lib/purolator_web_services/soap/default.rb', line 608

def estimatedRate
  @estimatedRate
end

#isAvailableObject

Returns the value of attribute isAvailable.



609
610
611
# File 'lib/purolator_web_services/soap/default.rb', line 609

def isAvailable
  @isAvailable
end

#rateDetailsObject

Returns the value of attribute rateDetails.



610
611
612
# File 'lib/purolator_web_services/soap/default.rb', line 610

def rateDetails
  @rateDetails
end

#shipMethodObject

Returns the value of attribute shipMethod.



606
607
608
# File 'lib/purolator_web_services/soap/default.rb', line 606

def shipMethod
  @shipMethod
end