-
@abstract The name of the realm account type.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
@abstract The description of the realm account type.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull accountDescription;
Swift
var accountDescription: String { get }
-
The account category for this account type. ‘Unknown’, ‘Current’, ‘Credit’, ‘Savings’, ‘Loan’, ‘Wallet’, ‘Manual.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull accountCategory;
Swift
var accountCategory: String { get }
-
The account class that is for example used for displaying an image for this account in CSS.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull accountClass;
Swift
var accountClass: String { get }
-
The id of the organization associated with this account type.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull organizationId;
Swift
var organizationId: NSNumber { get }
-
This will include information about supported file type extensions and parser class for import account types.
Declaration
Objective-C
@property (nonatomic, copy, readonly) MNFImportAccountConfiguration *_Nonnull importAccountConfiguration;
Swift
@NSCopying var importAccountConfiguration: MNFImportAccountConfiguration { get }
-
The id of the realm used to synchronize transactions.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull realmId;
Swift
var realmId: NSNumber { get }
-
Extra information about the account category, f.x. ‘visa’ or ‘amex’ for the ‘Credit’ account category.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull accountCategoryDetails;
Swift
var accountCategoryDetails: String { get }
-
True if cashback can be calculated for the account.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull enableCashback;
Swift
var enableCashback: NSNumber { get }
-
Deprecated
Use account category instead
@abstract The account type of the realm account type.
Declaration
Objective-C
@property (nonatomic, strong, readonly) MNF_DEPRECATED("Use account category instead") NSString *accountType;
Swift
var accountType: String { get }
-
@abstract Fetches a list of all realm account types.
Declaration
Objective-C
+ (nonnull MNFJob *) fetchAccountTypesWithOrganizationId:(nullable NSNumber *)organizationId completion: (nullable MNFMultipleAccountTypesCompletionHandler) completion;
Swift
class func fetchTypes(withOrganizationId organizationId: NSNumber?, completion: MNFMultipleAccountTypesCompletionHandler? = nil) -> MNFJob
Parameters
organizationId
The id of an organization to get the account types for. If nil then returns all account types.
completion
A completion block returning a list of realm account types and an error.
Return Value
An MNFJob containing a list of realm account types and an error.
-
@abstract Fetches a realm account type with a given identifier.
Declaration
Objective-C
+ (nonnull MNFJob *) fetchAccountTypeWithId:(nonnull NSNumber *)identifier completion:(nullable MNFAccountTypeCompletionHandler)completion;
Swift
class func fetchType(withId identifier: NSNumber, completion: MNFAccountTypeCompletionHandler? = nil) -> MNFJob
Parameters
identifier
The identifier of the account type.
completion
A completion block returning a realm account type and an error.
Return Value
An MNFJob containing a realm account type and an error.