Class: FedexWebServices::Soap::Ship::Tax

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

Instance Method Summary collapse

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

#amountObject

Returns the value of attribute amount.



3405
3406
3407
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3405

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



3404
3405
3406
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3404

def description
  @description
end

#taxTypeObject

Returns the value of attribute taxType.



3403
3404
3405
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3403

def taxType
  @taxType
end