Skip to Content

Address

The address object represents a postal or contact address used throughout Finqu, such as for customers, orders, shipping, and billing. It provides access to all standard address fields, including names, company details, contact information, and geolocation data.

Usage Example

<address> <strong>{{ address.name }}</strong><br> {{ address.company }}<br> {{ address.address1 }}<br> {% if address.address2 %}{{ address.address2 }}<br>{% endif %} {{ address.zipcode }} {{ address.city }}<br> {{ address.country.name }}<br> {% if address.phone %}Phone: {{ address.phone }}<br>{% endif %} {% if address.email %}Email: {{ address.email }}<br>{% endif %} </address>

Properties

name

Returns the complete name of the person associated with this address.

email

Returns the email address associated with this address for contact purposes.

firstName

Returns the first name of the person associated with this address.

lastName

Returns the last name of the person associated with this address.

first_name

Returns the value of first_name field in the address.

last_name

Returns the last name of the person associated with this address.

company

Returns the name of the company associated with this address, if applicable.

company_id

Returns the official business identifier (registration number) of the company associated with this address.

companyId

Returns the official business identifier (registration number) of the company associated with this address.

vat_number

Returns the VAT (Value Added Tax) identification number of the company associated with this address.

vatId

Returns the VAT (Value Added Tax) identification number of the company associated with this address.

phone

Returns the value of phone field in the address.

address1

Returns the value of address1 field in the address.

address2

Returns the value of address2 field in the address.

zipcode

Returns the value of zipcode field in the address.

city

Returns the value of city field in the address.

state_code

Returns the value of state_code field in the address.

country

Returns the country object for the corresponding country in the address.

country_code

Returns the value of country_code field in the address.

info

Returns any extra information or notes associated with this address, such as delivery instructions or comments.

latitude

Returns the latitude coordinate for the address, if available. Useful for mapping and geolocation.

longitude

Returns the longitude coordinate for the address, if available. Useful for mapping and geolocation.