LineTaxAddressesRequest Class
Stores details of the addresses applied per line item in a tax calculation request.
-
LineTaxAddressesRequest Constructors
Learn more about the constructors available with the
LineTaxAddressesRequestclass. -
LineTaxAddressesRequest Properties
Learn more about the available properties with the
LineTaxAddressesRequestclass. -
LineTaxAddressesRequest Methods
Learn more about the available methods with the
LineTaxAddressesRequestclass.
Learn more about the constructors available with the LineTaxAddressesRequest class.
The LineTaxAddressesRequest class includes these constructors.
-
LineTaxAddressesRequest(shipFrom, shipTo, soldTo, billTo, taxEngineAddress)
Constructor for initializing the required addresses for a line item of the tax addresses request such as the ship to, ship from, 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 for a line item of the tax addresses request such as the ship to, ship from, and bill to addresses. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
global LineTaxAddressesRequest(commercetax.TaxAddressRequest shipFrom, commercetax.TaxAddressRequest shipTo, commercetax.TaxAddressRequest soldTo, commercetax.TaxAddressRequest billTo, commercetax.TaxAddressRequest taxEngineAddress)
- shipFrom: TaxAddressRequest Address where a line item was shipped from.
- shipTo: TaxAddressRequest Address where a line item is shipped to.
- soldTo: TaxAddressRequest Address of the line item’s buyer.
- billTo: TaxAddressRequest Person or group who was billed for the line item.
- taxEngineAddress: TaxAddressRequest Address that the tax engine uses to calculate tax.
Learn more about the available properties with the LineTaxAddressesRequest class.
The LineTaxAddressesRequest class includes these properties.
-
The Bill To address for a line item.
-
The Ship From address for a line item.
-
The Ship To address for a line item.
-
The Sold To address for a line item.
The Bill To address for a line item.
global commercetax.TaxAddressRequest billTo {get; set;}
Type: TaxAddressRequest
The Ship From address for a line item.
global commercetax.TaxAddressRequest shipFrom {get; set;}
Type: TaxAddressRequest
The Ship To address for a line item.
global commercetax.TaxAddressRequest shipTo {get; set;}
Type: TaxAddressRequest
The Sold To address for a line item.
global commercetax.TaxAddressRequest soldTo {get; set;}
Type: TaxAddressRequest
Learn more about the available methods with the LineTaxAddressesRequest class.
The LineTaxAddressesRequest class includes these methods.
-
Maintains the integrity of lists of type
LineTaxAddressesRequestby 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
LineTaxAddressesRequestby determining the uniquness of the external object records in a list. -
Converts a value to a string.
Maintains the integrity of lists of type LineTaxAddressesRequest 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 LineTaxAddressesRequest by determining the uniquness of the external object records in a list.
global Integer hashCode()
Type: Integer
Converts a value to a string.
global String toString()
Type: String