-
The starting balance for the balance projections, calculated as yesterday’s closing balance + todaysTransactionsAmount.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull startBalance;Swift
var startBalance: NSNumber { get } -
The projected end balance for the requested period.s
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull endBalance;Swift
var endBalance: NSNumber { get } -
A sum of today’s transactions amounts for the accounts selected.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull todaysTransactionsAmount;Swift
var todaysTransactionsAmount: NSNumber { get } -
The currency of the upcoming transaction.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull currency;Swift
var currency: String { get } -
A list of dates and their predictes balances.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSArray<MNFUpcomingBalanceDate *> *_Nonnull balanceDates;Swift
var balanceDates: [MNFUpcomingBalanceDate] { get } -
+fetchBalancesWithDateTo:includeOverdueFromDate: accountIds: includeUnlinked: useAvailableAmount: completion: Fetches upcoming balances from to day until the specified date.
Declaration
Objective-C
+ (nonnull MNFJob *) fetchBalancesWithDateTo:(nonnull NSDate *)dateTo includeOverdueFromDate:(nullable NSDate *)overdueFromDate accountIds:(nullable NSString *)accountIds includeUnlinked:(BOOL)includeUnlinked useAvailableAmount:(BOOL)useAvailableAmount completion:(nullable MNFBalancesCompletionHandler)completion;Swift
class func fetchBalancesWithDate(to dateTo: Date, includeOverdueFrom overdueFromDate: Date?, accountIds: String?, includeUnlinked: Bool, useAvailableAmount: Bool, completion: MNFBalancesCompletionHandler? = nil) -> MNFJobParameters
dateToThe inclusive end date of the entries to be fetched.
overdueFromDateWhen set the open upcoming transactions from this date (inclusive) are projected to today’s balance.
accountIdsA comma seperated string of account ids to filter by.
includeUnlinkedWhether upcomings that are not linked to any account should be included.
useAvailableAmountWhether the amount of accounts should be the available amount or the real amount.
completionA completion block returning a balance and an error.
Return Value
MNFJob A job containing a balance and an error.
View on GitHub