PendingTransactionsResult

public final class PendingTransactionsResult

Holds the result of the pending transactions.

  • The type of error.

    Declaration

    Swift

    public fileprivate(set) var error: Error?
  • The detailed information of the error.

    Declaration

    Swift

    public var errorDescription: String?
  • The flag to indicate an error.

    Declaration

    Swift

    public var hasError: Bool
  • The array of PendingTransaction structures.

    Declaration

    Swift

    public fileprivate(set) var transactions: [PendingTransaction] = []
  • The count of all pending transactions.

    Remark

    The value is representative of all pending transactions.

    Declaration

    Swift

    public fileprivate(set) var pendingTransactionCount: Int = 0
  • Parses the object into an PendingTransactionsResult.

    Throws

    IBMMobileKitError.invalidDataFromServer, IBMMobileKitError.unableToParseData

    Declaration

    Swift

    open static func parse(_ data: [String:Any], nextTransactionOnly: Bool, orderBy: ComparisonResult = .orderedDescending) throws -> PendingTransactionsResult