Balance

public struct Balance

Describes an account balance.

  • Indicates the available balance.

    Declaration

    Swift

    public let availableAmount: Amount
  • Indicates the maximum spendable balance for a single transaction, as mandated by the account issuer, regardless of the account balance.

    Declaration

    Swift

    public let transactionLimit: Amount?
  • Initializes a Balance.

    Declaration

    Swift

    public init(availableAmount: Amount, transactionLimit: Amount?)

    Parameters

    availableAmount

    The available balance.

    transactionLimit

    The maximum spendable balance for a single transaction as mandated by the account issuer, regardless of the account balance.