## Get value from a Billing Address Element `element.getValue(options?: object)`

Validates and retrieves form values from a Billing Address Element. If there are any input validation errors, the errors will display by their respective fields.

- `options` An optional options object to control the format of the returned values.
- `format` Controls the format of the `state` field in the returned address value.
    * `latin`: Return the state in Latin characters (for example, "Tokyo").
    * `localized`: Return the state in the locale's native script (for example, "東京").
    If unspecified in Stripe.js Clover and below, format is determined by a heuristic based on the customer's browser language. If unspecified in Stripe.js Dahlia and above, defaults to `latin`.

### Example

```javascript
const billingAddressElement = elements.getElement('billingAddress');
const { value } = await billingAddressElement.getValue();
```