TaxAddressesRequest Class

Contains methods to get and set tax address values.

CommerceTax

Learn more about the available constructors with the TaxAddressesRequest class.

The TaxAddressesRequest class includes these constructors.

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)

Learn more about the available properties with the TaxAddressesRequest class.

The TaxAddressesRequest class includes these properties.

  • billTo

    The Bill To address for a line item.

  • shipFrom

    The Ship From address for a line item.

  • shipTo

    The Ship To address for a line item.

  • soldTo

    The Sold To address for a line item.

  • taxEngineAddress

    The Tax Engine Address for a line item.

The Bill To address for a line item.

global commercetax.TaxAddressRequest billTo {get; set;}

TaxAddressRequest

The Ship From address for a line item.

global commercetax.TaxAddressRequest shipFrom {get; set;}

TaxAddressRequest

The Ship To address for a line item.

public commercetax.TaxAddressRequest shipTo {get; set;}

TaxAddressRequest

The Sold To address for a line item.

global commercetax.TaxAddressRequest soldTo {get; set;}

TaxAddressRequest

The Tax Engine Address for a line item.

global commercetax.TaxAddressRequest taxEngineAddress {get; set;}

TaxAddressRequest

Learn more about the available methods with the TaxAddressesRequest class.

The TaxAddressesRequest class includes these methods.

  • equals(obj)

    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.

  • hashCode()

    Maintains the integrity of lists of type TaxAddressesRequest by determining the uniqueness of the external object records in a list.

  • toString()

    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