TaxAddressesRequest Class
Contains methods to get and set tax address values.
-
TaxAddressesRequest Constructors
Learn more about the available constructors with the
TaxAddressesRequestclass. -
TaxAddressesRequest Properties
Learn more about the available properties with the
TaxAddressesRequestclass. -
Learn more about the available methods with the
TaxAddressesRequestclass.
Learn more about the available constructors with the TaxAddressesRequest class.
The TaxAddressesRequest class includes these constructors.
-
TaxAddressesRequest(shipFrom, shipTo, soldTo, billTo, taxEngineAddress)
Constructor for defining addresses for the tax addresses request. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
Constructor for defining addresses for the tax addresses request. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
global TaxAddressesRequest(commercetax.TaxAddressRequest shipFrom, commercetax.TaxAddressRequest shipTo, commercetax.TaxAddressRequest soldTo, commercetax.TaxAddressRequest billTo, commercetax.TaxAddressRequest taxEngineAddress)
- shipFrom: TaxAddressRequest The address where a line item was shipped from.
- shipTo: TaxAddressRequest The address where a line item is shipped to.
- soldTo: TaxAddressRequest The address of the line item’s buyer.
- billTo: TaxAddressRequest The person or group who was billed for the line item.
- taxEngineAddress: TaxAddressRequest The address that the tax engine uses to calculate tax.
Learn more about the available properties with the TaxAddressesRequest class.
The TaxAddressesRequest 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 Tax Engine Address for a line item.
The Bill To address for a line item.
global commercetax.TaxAddressRequest billTo {get; set;}
The Ship From address for a line item.
global commercetax.TaxAddressRequest shipFrom {get; set;}
The Ship To address for a line item.
public commercetax.TaxAddressRequest shipTo {get; set;}
The Sold To address for a line item.
global commercetax.TaxAddressRequest soldTo {get; set;}
The Tax Engine Address for a line item.
global commercetax.TaxAddressRequest taxEngineAddress {get; set;}
Learn more about the available methods with the TaxAddressesRequest class.
The TaxAddressesRequest class includes these methods.
-
Maintains the integrity of lists of type
TaxAddressesRequestby 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 object records in a list. -
Converts a value to a string.
Maintains the integrity of lists of type TaxAddressesRequest 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 object records in a list.
global Integer hashCode()
Type: Integer
Converts a value to a string.
global String toString()
Type: String