---
title: "init(vasMode:passTypeIdentifier:url:)"
framework: corenfc
role: symbol
role_heading: Initializer
path: "corenfc/nfcvascommandconfiguration/init(vasmode:passtypeidentifier:url:)-9bh8w"
---

# init(vasMode:passTypeIdentifier:url:)

Creates a VAS command configuration object.

## Declaration

```swift
init(vasMode mode: NFCVASCommandConfiguration.Mode, passTypeIdentifier: String, url: URL?)
```

## Parameters

- `mode`: A VAS operation mode.
- `passTypeIdentifier`: A type identifier for the Wallet pass.
- `url`: A URL when mode is VASModeURLOnly; otherwise set to nil. The maximum length of the URL is 64 characters, including the schema.

## Return Value

Return Value A newly initialized VAS command configuration object.
