Class: FedexWebServices::Soap::Ship::Tax
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Tax
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Tax
taxType - FedexWebServices::Soap::Ship::TaxType
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.
-
#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.
3407 3408 3409 3410 3411 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3407 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.
3405 3406 3407 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3405 def amount @amount end |
#description ⇒ Object
Returns the value of attribute description.
3404 3405 3406 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3404 def description @description end |
#taxType ⇒ Object
Returns the value of attribute taxType.
3403 3404 3405 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3403 def taxType @taxType end |