TaxAddressRequest Class
Contains address details used for tax calculation.
-
TaxAddressRequest Constructors
Learn more about the available constructors with the
TaxAddressRequestclass. -
Learn more about the available properties with the
TaxAddressRequestclass. -
Learn more about the available methods with the
TaxAddressRequestclass.
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
TaxAddressRequestobject using address details. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
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.
global TaxAddressRequest(String city, String country, Double latitude, Double longitude, String postalCode, String state, String street, String locationCode)
-
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.
Learn more about the available properties with the TaxAddressRequest class.
The TaxAddressRequest class includes these properties.
-
City used in an address, which is required for tax calculation.
-
Country used in an address, which is required for tax calculation.
-
Country code used in an address, which is required for tax calculation.
-
Latitude used in an address, which is required for tax calculation.
-
Location code used in an address, which is required for tax calculation.
-
Longitude used in an address, which is required for tax calculation.
-
Postal code used in an address, which is required for tax calculation.
-
State used in an address, which is required for tax calculation.
-
State code used in an address, which is required for tax calculation.
-
Street used in an address, which is required for tax calculation.
City used in an address, which is required for tax calculation.
global String city {get; set;}
Type: String
Country used in an address, which is required for tax calculation.
global String country {get; set;}
Type: String
Country code used in an address, which is required for tax calculation.
global String countryCode {get; set;}
Type: String
Latitude used in an address, which is required for tax calculation.
global Double latitude {get; set;}
Type: Double
Location code used in an address, which is required for tax calculation.
global String locationCode {get; set;}
Type: String
Longitude used in an address, which is required for tax calculation.
global Double longitude {get; set;}
Type: Double
Postal code used in an address, which is required for tax calculation.
global String postalCode {get; set;}
Type: String
State used in an address, which is required for tax calculation.
global String state {get; set;}
Type: String
State code used in an address, which is required for tax calculation.
global String stateCode {get; set;}
Type: String
Street used in an address, which is required for tax calculation.
global String street {get; set;}
Type: String
Learn more about the available methods with the TaxAddressRequest class.
The TaxAddressRequest class includes these methods.
-
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. -
Maintains the integrity of lists of type
TaxAddressRequestby determining the uniqueness of the external object in a list. -
Converts a date to a string.
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.
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 TaxAddressRequest by determining the uniqueness of the external object in a list.
global Integer hashCode()
Type: Integer
Converts a date to a string.
global String toString()
Type: String