EligibilityDataComponents
public struct EligibilityDataComponents : Sendable
Components used to build EligibilityData.
-
Input method.
Declaration
Swift
public let inputMethod: EligibilityData.InputMethod -
Language.
Declaration
Swift
public let language: String -
Serial number.
Declaration
Swift
public var serialNumber: String? -
Wallet account.
Declaration
Swift
public var walletAccount: EligibilityData.WalletAccount? -
Initializes the eligibility data components
Declaration
Swift
public init( inputMethod: EligibilityData.InputMethod = .manual, language: String = "en", serialNumber: String? = nil, walletAccount: EligibilityData.WalletAccount? = nil )Parameters
inputMethodThe input method used to capture the card information.
languageThe language used.
serialNumberThe Serial number of the device.
walletAccountThe information related to end user Wallet account. Used by issuer or scheme for risk decision only during the eligibility and/or card provisioning.
-
Builds the eligibility data.
Declaration
Swift
public func eligibilityData() -> EligibilityDataReturn Value
EligibilityDataComponents Structure Reference