Instance Method

initWithVASMode:passTypeIdentifier:url:

Initializes a VAS command configuration object.

Declaration

- (instancetype)initWithVASMode:(VASMode)mode passTypeIdentifier:(NSString *)passTypeIdentifier url:(NSURL *)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

A newly initialized VAS command configuration object.