Wallet

public struct Wallet : Codable, Sendable

The wallet model.

  • The unique id of the wallet within the Alviere platform.

    Declaration

    Swift

    public let walletUuid: String
  • The account uuid.

    Declaration

    Swift

    public let accountUuid: String?
  • The external wallet id of your platform.

    Declaration

    Swift

    public let externalId: String
  • The type of wallet.

    Declaration

    Swift

    public let typeString: String
  • The type of wallet. Check typeString if nil.

    Declaration

    Swift

    public var type: WalletType? { get }
  • The status of the wallet.

    Declaration

    Swift

    public let statusString: String
  • The status of the wallet. Check statusString if nil.

    Declaration

    Swift

    public var status: WalletStatus? { get }
  • The reason why a wallet might be in a particular status.

    Declaration

    Swift

    public let statusReason: String?
  • The currency details what currency type will be used for transactions, using the ISO-4217 format.

    Declaration

    Swift

    public let currencyString: String
  • The currency details what currency type will be used for transactions, using the ISO-4217 format. Check currencyString if nil.

    Declaration

    Swift

    public var currency: Currency? { get }
  • Different buckets that hold funds for the wallet/vault.

    Declaration

    Swift

    public let funds: WalletFunds
  • A user controlled label for the wallet.

    Declaration

    Swift

    public let label: String
  • The bank account details

    Declaration

    Swift

    public let bankAccountDetails: BankAccountDetails?
  • The bank’s token creation date.

    Declaration

    Swift

    public let createdAt: String
  • The bank’s modification date.

    Declaration

    Swift

    public let updatedAt: String