CalculateTaxRequest Class
Namespace
Example
See TaxEngineAdapter Example Implementation for more details on how to access information from the CalculateTaxRequest class.
CalculateTaxRequest Constructors
The CalculateTaxRequest class includes these constructors.
CalculateTaxRequest(taxType)
Signature
global CalculateTaxRequest(commercetax.CalculateTaxType taxType)
Parameters
- taxType
- Type: CalculateTaxType
- Indicates whether the tax calculation is for estimated tax or actual tax.
CalculateTaxRequest Properties
The CalculateTaxRequest class includes these properties.
taxTransactionType
Signature
global commercetax.TaxTransactionType taxTransactionType {get; set;}
Property Value
Type: TaxTransactionType
taxType
Signature
global commercetax.CalculateTaxType taxType {get; set;}
Property Value
Type: CalculateTaxType
CalculateTaxRequest Methods
The CalculateTaxRequest class includes these methods.
equals(obj)
Signature
global Boolean equals(Object obj)
Parameters
- obj
- Type: Object
- External object whose key is to be validated.
Return Value
Type: Boolean