Class: FedexWebServices::Soap::Rate::Tax
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Tax
- 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
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#description ⇒ Object
Returns the value of attribute description.
-
#taxType ⇒ Object
Returns the value of attribute taxType.
Instance Method Summary collapse
-
#initialize(taxType = nil, description = nil, amount = nil) ⇒ Tax
constructor
A new instance of Tax.
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
#amount ⇒ Object
Returns the value of attribute amount.
2911 2912 2913 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2911 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
2910 2911 2912 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2910 def description @description end |
#taxType ⇒ Object
Returns the value of attribute taxType.
2909 2910 2911 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2909 def taxType @taxType end |