Wallet
public struct Wallet
Represents a mobile Wallet
-
The programmatic ID of the Mobile Credential to which this Wallet belongs
Declaration
Swift
public let credentialId: String
-
Facility Id of the site this Digital ID was received from or zero if the same as the Mobile Credential
Declaration
Swift
public let sourceSiteFacilityId: Int
-
Id for the pass from PassKit, shared across the user’s wallets
Declaration
Swift
public var passAccountId: String?
-
true, if a Wallet for the given site exists on the phone, false otherwise. Note: The value will be false if your App ID (TeamID.AppBundleID) is not configured/added to the Apple pass details used for your site.
Declaration
Swift
public var hasLocalPass: Bool { get }
-
true, if a Wallet for the given site exists on a paired watch, false otherwise. Note: The value will be false if your App ID (TeamID.AppBundleID) is not configured/added to the Apple pass details used for your site.
Declaration
Swift
public var hasWatchPass: Bool { get }
-
true, if device has paired watch else returns false.
Declaration
Swift
public var hasPairedWatch: Bool { get }
-
A helper property to retrieve the Apple pass instance URL in the wallet app. It can be used to navigate to the pass in the Apple wallet app.
Declaration
Swift
var passUrl: URL? { get }
-
Helper function returns true if the pass has not been provisioned to the device or to a paired watch, otherwise returns false. Note: The function will return false if your App ID (TeamID.AppBundleID) is not configured/added to the Apple pass details used for your site.
Declaration
Swift
func shouldShowAddToWalletButton() -> Bool