Class: FedexWebServices::Soap::Ship::Surcharge
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Surcharge
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Surcharge
surchargeType - FedexWebServices::Soap::Ship::SurchargeType
level - FedexWebServices::Soap::Ship::SurchargeLevelType
description - SOAP::SOAPString
amount - FedexWebServices::Soap::Ship::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.
3390 3391 3392 3393 3394 3395 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3390 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.
3388 3389 3390 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3388 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
3387 3388 3389 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3387 def description @description end |
#level ⇒ Object
Returns the value of attribute level.
3386 3387 3388 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3386 def level @level end |
#surchargeType ⇒ Object
Returns the value of attribute surchargeType.
3385 3386 3387 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3385 def surchargeType @surchargeType end |