WalletAccountComponents
public struct WalletAccountComponents
Components used to build WalletAccountData.
-
The account ID.
Declaration
Swift
public let accountID: String -
The name of the cardholder.
Declaration
Swift
public var name: String? -
The email address of the cardholder.
Declaration
Swift
public var email: String? -
The residing address of the cardholder.
Declaration
Swift
public var address: WalletAccount.Address? -
Initializes the wallet account components.
Declaration
Swift
public init( accountID: String, name: String? = nil, email: String? = nil, address: WalletAccount.Address? = nil )Parameters
accountIDThe account ID, up to 24 characters for Visa (VTS) and 64 characters long for other TSPs. This is mandatory when
WalletAccountis used.nameThe name of the cardholder, up to 64 characters long.
emailThe email address of the cardholder, up to 48 characters long.
addressThe residing address of the cardholder.
-
Builds the wallet account.
Declaration
Swift
public func walletAccount() -> WalletAccountReturn Value
WalletAccountComponents Structure Reference