HeaderTaxAddressesRequest Class
Captures the address values that are applicable for the quote or order transaction.
-
HeaderTaxAddressesRequest Constructors
Learn more about the constructors available with the
HeaderTaxAddressesRequestclass. -
HeaderTaxAddressesRequest Properties
Learn more about the available properties with the
HeaderTaxAddressesRequestclass. -
HeaderTaxAddressesRequest Methods
Learn more about the available methods with the
HeaderTaxAddressesRequestclass.
Learn more about the constructors available with the HeaderTaxAddressesRequest class.
The HeaderTaxAddressesRequest class includes these constructors.
-
HeaderTaxAddressesRequest(shipFrom, shipTo, soldTo, billTo, taxEngineAddress)
Constructor for initializing the required addresses of the tax addresses request such as the ship from, ship to, sold to, and bill to addresses. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
Constructor for initializing the required addresses of the tax addresses request such as the ship from, ship to, sold to, and bill to addresses. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
global HeaderTaxAddressesRequest(commercetax.TaxAddressRequest shipFrom, commercetax.TaxAddressRequest shipTo, commercetax.TaxAddressRequest soldTo, commercetax.TaxAddressRequest billTo, commercetax.TaxAddressRequest taxEngineAddress)
-
shipFrom:
Type: TaxAddressRequest
Address where a line item was shipped from.
-
shipTo:
Type: TaxAddressRequest
Address where a line item was shipped to.
-
soldTo:
Type: TaxAddressRequest
Address of the line item’s buyer.
-
billTo:
Type: TaxAddressRequest
Person or group who was billed
for the line item.
-
taxEngineAddress:
Type: TaxAddressRequest
Address that the tax engine uses to calculate tax.
Learn more about the available properties with the HeaderTaxAddressesRequest class.
The HeaderTaxAddressesRequest class includes these properties.
-
Specifies the billTo address for a line item on which tax was calculated.
-
Specifies the shipFrom address for a line item on which tax was calculated.
-
Specifies the shipTo address for a line item on which tax was calculated.
-
Specifies the soldTo address for a line item on which tax was calculated.
-
Address used by the tax engine when calculating tax for a line item.
Specifies the billTo address for a line item on which tax was calculated.
global commercetax.TaxAddressRequest billTo {get; set;}
Type: TaxAddressRequest
Specifies the shipFrom address for a line item on which tax was calculated.
global commercetax.TaxAddressRequest shipFrom {get; set;}
Type: TaxAddressRequest
Specifies the shipTo address for a line item on which tax was calculated.
global commercetax.TaxAddressRequest shipTo {get; set;}
Type: TaxAddressRequest
Specifies the soldTo address for a line item on which tax was calculated.
global commercetax.TaxAddressRequest soldTo {get; set;}
Type: TaxAddressRequest
Address used by the tax engine when calculating tax for a line item.
global commercetax.TaxAddressRequest taxEngineAddress {get; set;}
Type: TaxAddressRequest
Learn more about the available methods with the HeaderTaxAddressesRequest class.
The HeaderTaxAddressesRequest class includes these methods.
-
Maintains the integrity of lists of type
HeaderTaxAddressesRequestby determining the equality of external objects in a list. This method is dynamic and is based on theequals()method in Java. -
Maintains the integrity of lists of type
TaxAddressesRequestby determining the uniqueness of the external objects in a list. -
Converts a value to a string.
Maintains the integrity of lists of type HeaderTaxAddressesRequest by determining the equality of external objects in a list. This method is dynamic and is based on the equals() method in Java.
global Boolean equals(Object obj)
-
obj:
Type:
Object External object whose key is to be validated.
Type: Boolean
Maintains the integrity of lists of type TaxAddressesRequest by determining the uniqueness of the external objects in a list.
global Integer hashCode()
Type: Integer
Converts a value to a string.
global String toString()
Type: String