# Global Apex Class: CustomerAddress

#### CustomerAddress class properties map to Limio address fields as follows:

|    | **CustomerAddress** **property** | **Limio address field**                |
| -- | -------------------------------- | -------------------------------------- |
| 1  | FirstName                        | firstName                              |
| 2  | LastName                         | lastName                               |
| 3  | CompanyName                      | company                                |
| 4  | MailingStreetName                | streetName                             |
| 5  | MailingBuildingNumber            | buildingNumber                         |
| 6  | MailingStreet                    | address1, address2 (split by new line) |
| 7  | MailingCity                      | city                                   |
| 8  | MailingCountry                   | country                                |
| 9  | MailingState                     | state                                  |
| 10 | MailingPostalCode                | postalCode                             |

All of the properties above are of type *String*, also they are *global* and *invocable*, which means you can access them and assign them values from within the SF flow context. You can find this class definition in the Apex Classes in Setup as well.

<figure><img src="/files/Ddlzz7xYyyTy7nrseyZx" alt=""><figcaption></figcaption></figure>

#### What is the difference between **MailingStreet** and **MailingStreetName** ?

**LFS version 12.10** introduced two new properties: **MailingStreetName** and **MailingBuldingNumber.**

As you see from the table above, **MailingStreet** maps to an **address1, address2** (separated on the new line), it usually contains street name and building number combined.

If you need to map street name and building number into two standalone fields use **MailingStreetName** for **streetName** and **MailingBuldingNumber** for **buildingNumber** instead.

#### Other global invocable properties

There are two more global invocable properties in the class related to the Address Book, learn more here: [Address Book](/integrations/using-limio-for-salesforce/address-mandatory-fields/add-addresses-to-address-book.md)

1. label - used to represent an address option in the Address Book dropdown
2. id - required for all address book entries, needs to be specified before adding a new address to the Address Book


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.limio.com/integrations/using-limio-for-salesforce/address-mandatory-fields/apex-customeraddress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
