---
title: "init(id:url:localizedName:)"
framework: proximityreader
role: symbol
role_heading: Initializer
path: "proximityreader/vasrequest/merchant/init(id:url:localizedname:)"
---

# init(id:url:localizedName:)

Creates a new merchant object with the specified information.

## Declaration

```swift
init(id: String, url: URL? = nil, localizedName: String? = nil)
```

## Parameters

- `id`: The merchant’s unique identifier. Obtain this value from the merchant.
- `url`: The URL to display if the customer doesn’t belong to the merchant’s loyalty program.
- `localizedName`: The name of the merchant, localized for the current device.
