Class: FedexWebServices::Soap::Rate::Surcharge

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#amountObject

Returns the value of attribute amount.



2894
2895
2896
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2894

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



2893
2894
2895
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2893

def description
  @description
end

#levelObject

Returns the value of attribute level.



2892
2893
2894
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2892

def level
  @level
end

#surchargeTypeObject

Returns the value of attribute surchargeType.



2891
2892
2893
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2891

def surchargeType
  @surchargeType
end