Class: FedexWebServices::Soap::Rate::Surcharge
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Surcharge
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13Surcharge
surchargeType - FedexWebServices::Soap::Rate::SurchargeType
level - FedexWebServices::Soap::Rate::SurchargeLevelType
description - SOAP::SOAPString
amount - FedexWebServices::Soap::Rate::Money
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#description ⇒ Object
Returns the value of attribute description.
-
#level ⇒ Object
Returns the value of attribute level.
-
#surchargeType ⇒ Object
Returns the value of attribute surchargeType.
Instance Method Summary collapse
-
#initialize(surchargeType = nil, level = nil, description = nil, amount = nil) ⇒ Surcharge
constructor
A new instance of Surcharge.
Constructor Details
#initialize(surchargeType = nil, level = nil, description = nil, amount = nil) ⇒ Surcharge
Returns a new instance of Surcharge.
2896 2897 2898 2899 2900 2901 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2896 def initialize(surchargeType = nil, level = nil, description = nil, amount = nil) @surchargeType = surchargeType @level = level @description = description @amount = amount end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
2894 2895 2896 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2894 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
2893 2894 2895 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2893 def description @description end |
#level ⇒ Object
Returns the value of attribute level.
2892 2893 2894 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2892 def level @level end |
#surchargeType ⇒ Object
Returns the value of attribute surchargeType.
2891 2892 2893 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2891 def surchargeType @surchargeType end |