Address

class Address

The details of the address associated with the TRN information.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The first line of the address.

Link copied to clipboard

The second line of the address, if applicable.

Link copied to clipboard

The third line of the address, if applicable. Currently, the Tax Settings API accepts the addressLine3 parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter the addressLine3 and specify the building number for the address. For example, you might enter 1234.

Link copied to clipboard

The city that the address is in.

Link copied to clipboard

The country code for the country that the address is in.

Link copied to clipboard

The district or county the address is located.

Link copied to clipboard

The postal code associated with the address.

Link copied to clipboard

The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.

Functions

Link copied to clipboard
inline fun copy(block: Address.Builder.() -> Unit = {}): Address
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String