Class: FedexWebServices::Soap::Rate::Tax

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13Tax

taxType - FedexWebServices::Soap::Rate::TaxType
description - SOAP::SOAPString
amount - FedexWebServices::Soap::Rate::Money

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taxType = nil, description = nil, amount = nil) ⇒ Tax

Returns a new instance of Tax.



2913
2914
2915
2916
2917
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2913

def initialize(taxType = nil, description = nil, amount = nil)
  @taxType = taxType
  @description = description
  @amount = amount
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



2911
2912
2913
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2911

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



2910
2911
2912
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2910

def description
  @description
end

#taxTypeObject

Returns the value of attribute taxType.



2909
2910
2911
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2909

def taxType
  @taxType
end