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

    inputMethod

    The input method used to capture the card information.

    language

    The language used.

    serialNumber

    The Serial number of the device.

    walletAccount

    The 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() -> EligibilityData

    Return Value

    EligibilityData.