TaxAddressRequest Class
Namespace
TaxAddressRequest Constructors
Learn more about the available constructors with the TaxAddressRequest class.
The TaxAddressRequest class includes these constructors.
TaxAddressRequest(city, country, latitude, longitude, postalCode, state, street, locationCode)
Initializes the TaxAddressRequest
object using address details. This constructor is intended for test usage and throws an
exception if used outside of the Apex test context.
Signature
global TaxAddressRequest(String city, String country, Double latitude, Double longitude, String postalCode, String state, String street, String locationCode)
Parameters
- city
- Type: String
- City used in an address, which is required for tax calculation.
- country
- Type: String
- Country used in an address, which is required for tax calculation.
- latitude
- Type: Double
- Latitude used in an address, which is required for tax calculation.
- longitude
- Type: Double
- Longitude used in an address, which is required for tax calculation.
- postalCode
- Type: String
- Postal code used in an address, which is required for tax calculation.
- state
- Type: String
- State used in an address, which is required for tax calculation.
- street
- Type: String
- Street used in an address, which is required for tax calculation.
- locationCode
- Type: String
- Location code used in an address, which is required for tax calculation.
TaxAddressRequest Properties
Learn more about the available properties with the TaxAddressRequest class.
The TaxAddressRequest class includes these properties.
TaxAddressRequest Methods
Learn more about the available methods with the TaxAddressRequest class.
The TaxAddressRequest class includes these methods.
equals(obj)
Maintains the integrity of lists of type TaxAddressRequest by
determining the equality of external objects in a list. This method is dynamic and based on
the equals() method in Java.
Signature
global Boolean equals(Object obj)
Parameters
- obj
- Type: Object
- External object whose key is to be validated.
Return Value
Type: Boolean
hashCode()
Maintains the integrity of lists of type TaxAddressRequest by determining the uniqueness of the external object in a
list.
Signature
global Integer hashCode()
Return Value
Type: Integer