Class: FedexWebServices::Soap::Ship::Surcharge

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

Instance Method Summary collapse

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

#amountObject

Returns the value of attribute amount.



3388
3389
3390
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3388

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



3387
3388
3389
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3387

def description
  @description
end

#levelObject

Returns the value of attribute level.



3386
3387
3388
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3386

def level
  @level
end

#surchargeTypeObject

Returns the value of attribute surchargeType.



3385
3386
3387
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3385

def surchargeType
  @surchargeType
end