SwiftclassFinanceKit

class FinanceKit.ManagedInternalAccount

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 89

  1. funcstatic accounts(forInstitutionID: String, in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  2. funcstatic accounts(grantedByConsentID: String, in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  3. funcstatic createPlaceholder(forPassWithPrimaryAccountID: String, currency: String, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount
  4. funcstatic deleteAccount(with: FinanceKit.FullyQualifiedAccountIdentifier, in: NSManagedObjectContext) throws -> ()
  5. funcstatic deletePlaceholderAccount(withPrimaryAccountIdentifier: String, in: NSManagedObjectContext) -> ()
  6. funcstatic dictionaryFetchRequest() -> NSFetchRequest<NSDictionary>
  7. funcstatic existingAccount(withPublicAccountID: Foundation.UUID, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  8. funcstatic existingAccount(withExternalAccountID: String, mustBeLinked: Bool, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  9. funcstatic existingAccount(withAccountID: Foundation.UUID, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  10. funcstatic existingAccount(with: FinanceKit.FullyQualifiedAccountIdentifier, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  11. funcstatic existingAccount(accountID: String, consentID: String, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  12. funcstatic existingAccounts(withPublicAccountIDs: Set<Foundation.UUID>, in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  13. funcstatic existingAccounts(withExternalAccountIDs: [String], in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  14. funcstatic existingAccounts(withInstitutionID: String, in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  15. funcstatic existingEnabledAccount(withPrimaryAccountIdentifier: String, context: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  16. funcstatic existingObject(with: NSManagedObjectID, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount
  17. funcstatic existingPlaceholderAccount(forPassWithPrimaryAccountID: String, in: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
  18. funcstatic existingPlaceholderAccountsForUnconnectedPasses(in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  19. funcstatic fetchRequest() -> NSFetchRequest<FinanceKit.ManagedInternalAccount>
  20. funcstatic linkedAccounts(withInstitutionID: String, in: NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
  21. funcstatic migrate(_: FinanceKit.ManagedInternalAccount, to: FinanceKit.ManagedConsent) -> ()
  22. funcstatic originTypesWithTransactionsFetchRequest(in: [FinanceKit.AccountOriginType]) -> NSFetchRequest<NSDictionary>
  23. funcstatic placeholderCurrency(forIssuerCountryCode: String?) -> String
  24. funcstatic predicateForAccount(withPublicAccountID: Foundation.UUID) -> NSPredicate
  25. funcstatic predicateForAccount(withExternalAccountID: String) -> NSPredicate
  26. funcstatic predicateForAccount(with: FinanceKit.FullyQualifiedAccountIdentifier) -> NSPredicate
  27. funcstatic predicateForAccount(accountID: String, consentID: String) -> NSPredicate
  28. funcstatic predicateForAccounts(withPublicAccountIDs: Set<Foundation.UUID>) -> NSPredicate
  29. funcstatic predicateForAccounts(withoutAccountStatus: FinanceKit.AccountStatus) -> NSPredicate
  30. funcstatic predicateForAccounts(withFqaids: [FinanceKit.FullyQualifiedAccountIdentifier]) -> NSPredicate
  31. funcstatic predicateForAccounts(withConsentID: String) -> NSPredicate
  32. funcstatic predicateForAccounts(withInstitutionID: String) -> NSPredicate
  33. funcstatic predicateForAccounts(grantingAccessByConsentUUID: Foundation.UUID) -> NSPredicate
  34. funcstatic predicateForAccountsEligibleForUpcomingTransactions() -> NSPredicate
  35. funcstatic predicateForAppleCardAccountEligibleForUpcomingTransactions() -> NSPredicate
  36. funcstatic predicateForConnectedAccountsEligibleForUpcomingTransactions() -> NSPredicate
  37. funcstatic predicateForLinkedAccounts(originTypes: [FinanceKit.AccountOriginType]) -> NSPredicate
  38. funcstatic predicateForLinkedAccounts(withInstitutionID: String, originTypes: [FinanceKit.AccountOriginType]) -> NSPredicate
  39. funcstatic predicateForThirdPartyShareableAccounts() -> NSPredicate
  40. funcstatic predicateForTransactionPickerShareableAccounts() -> NSPredicate
  41. funcstatic update(_: FinanceKit.ManagedInternalAccount, consent: FinanceKit.ManagedConsent, withRawAccount: FinanceKit.RawBankConnectData.Account) -> ()
  42. funcstatic update(_: FinanceKit.ManagedInternalAccount, consent: FinanceKit.ManagedConsent, withAppleAccount: FKAppleAccount) -> ()
  43. varstatic var attributeNamesByKeyPath: [String : String] { get }
  44. varstatic var entityName: String { get }
  45. varstatic var mappedKeyPaths: [AnyKeyPath : String] { get }
  46. varstatic var placeholderFallbackCurrency: String { get }
  47. deinitdeinit
  48. funcsetAccountBalanceRelationship(FinanceKit.ManagedInternalAccountBalance) -> ()
  49. funcsetPreauthorizedPaymentRelationship(FinanceKit.ManagedPreauthorizedPayment) -> ()
  50. funcsetTransactionRelationship(FinanceKit.ManagedInternalTransaction) -> ()
  51. funcshouldRefreshAccount(now: Foundation.Date) -> Bool
  52. funcshouldRefreshPaymentInfo(now: Foundation.Date) -> Bool
  53. funcshouldRefreshScheduledPayments(now: Foundation.Date) -> Bool
  54. funcshouldRefreshTransactions(now: Foundation.Date) -> Bool
  55. funcupdatePlaceholderCurrency(String) -> ()
  56. funcvalidateForInsert() throws -> ()
  57. funcvalidateForUpdate() throws -> ()
  58. initFinanceKit.ManagedInternalAccount.__allocating_init(entity: NSEntityDescription, insertInto: NSManagedObjectContext?) -> FinanceKit.ManagedInternalAccount
  59. initFinanceKit.ManagedInternalAccount.__allocating_init(_: FKAppleAccount, consent: FinanceKit.ManagedConsent, migratedAccountsProvider: FinanceKit.MigratedAccountIdentifierProvider, context: NSManagedObjectContext, annotationProvider: FinanceKit.AccountAnnotationProviding) throws -> FinanceKit.ManagedInternalAccount
  60. initFinanceKit.ManagedInternalAccount.__allocating_init(_: FinanceKit.RawBankConnectData.Account, consent: FinanceKit.ManagedConsent, migratedAccountsProvider: FinanceKit.MigratedAccountIdentifierProvider, context: NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount
  61. initFinanceKit.ManagedInternalAccount.__allocating_init(_: FinanceKit.InternalAccount, consent: FinanceKit.ManagedConsent, context: NSManagedObjectContext) -> FinanceKit.ManagedInternalAccount
  62. varvar accessLevel: FinanceKit.AccountAccessLevel { get }
  63. varvar accountDescription: String? { get }
  64. varvar accountMatchingType: FinanceKit.AccountMatchingType? { get set }
  65. varvar accountNumber: FinanceKit.AccountNumber { get set }
  66. varvar accountStatus: FinanceKit.AccountStatus? { get }
  67. varvar accountType: FinanceKit.AccountType { get }
  68. varvar actions: FinanceKit.Actions { get }
  69. varvar backgroundRefreshUserPreference: FinanceKit.BackgroundRefreshUserPreference { get set }
  70. varvar creditLimit: FinanceKit.CurrencyAmount? { get }
  71. varvar currency: String { get }
  72. varvar displayName: String { get }
  73. varvar fullyQualifiedAccountIdentifier: FinanceKit.FullyQualifiedAccountIdentifier { get }
  74. varvar id: Foundation.UUID { get }
  75. varvar lastAccountRefreshFailure: FinanceKit.BankConnectRefreshFailure? { get set }
  76. varvar lastTransactionsRefreshFailure: FinanceKit.BankConnectRefreshFailure? { get set }
  77. varvar latestAccountBalance: FinanceKit.InternalAccountBalance? { get }
  78. varvar latestAccountBalanceObject: FinanceKit.ManagedInternalAccountBalance? { get }
  79. varvar loadingStatus: FinanceKit.ManagedInternalAccount.LoadingStatus { get set }
  80. varvar minimumPaymentAmount: FinanceKit.CurrencyAmount? { get }
  81. varvar nextPaymentDate: Foundation.Date? { get }
  82. varvar originType: FinanceKit.AccountOriginType { get set }
  83. varvar overdraftLimit: FinanceKit.CurrencyAmount? { get }
  84. varvar overduePaymentAmount: FinanceKit.CurrencyAmount? { get }
  85. varvar preferences: FinanceKit.InternalAccount.Preferences { get }
  86. varvar purchasingPower: FinanceKit.CurrencyAmount? { get }
  87. varvar recurringPayments: [FinanceKit.RecurringPayment] { get }
  88. varvar scheduledPayments: [FinanceKit.ScheduledPayment] { get }
  89. varvar transactions: [FinanceKit.InternalTransaction] { get }
class ManagedInternalAccount: __C.NSManagedObject {
    struct LoadingStatus {
        let rawValue: Swift.Int16

        init(rawValue: Swift.Int16)
        init(_: FinanceKit.InternalAccount.LoadingStatus)
    }
    enum PlaceholderAccountCreationError {
        case multipleConsents
    }
    init(entity: __C.NSEntityDescription, insertInto: __C.NSManagedObjectContext?)
    init(_: __C.FKAppleAccount, consent: FinanceKit.ManagedConsent, migratedAccountsProvider: any FinanceKit.MigratedAccountIdentifierProvider, context: __C.NSManagedObjectContext, annotationProvider: any FinanceKit.AccountAnnotationProviding) throws
    init(_: FinanceKit.RawBankConnectData.Account, consent: FinanceKit.ManagedConsent, migratedAccountsProvider: any FinanceKit.MigratedAccountIdentifierProvider, context: __C.NSManagedObjectContext) throws
    init(_: FinanceKit.InternalAccount, consent: FinanceKit.ManagedConsent, context: __C.NSManagedObjectContext)

    var accessLevel: FinanceKit.AccountAccessLevel {
        get
    }
    var accountDescription: Swift.String? {
        get
    }
    var accountMatchingType: FinanceKit.AccountMatchingType? {
        get
        set
    }
    var accountNumber: FinanceKit.AccountNumber {
        get
        set
    }
    var accountStatus: FinanceKit.AccountStatus? {
        get
    }
    var accountType: FinanceKit.AccountType {
        get
    }
    var actions: FinanceKit.Actions {
        get
    }
    var backgroundRefreshUserPreference: FinanceKit.BackgroundRefreshUserPreference {
        get
        set
    }
    var creditLimit: FinanceKit.CurrencyAmount? {
        get
    }
    var currency: Swift.String {
        get
    }
    var displayName: Swift.String {
        get
    }
    var fullyQualifiedAccountIdentifier: FinanceKit.FullyQualifiedAccountIdentifier {
        get
    }
    var id: Foundation.UUID {
        get
    }
    var lastAccountRefreshFailure: FinanceKit.BankConnectRefreshFailure? {
        get
        set
    }
    var lastTransactionsRefreshFailure: FinanceKit.BankConnectRefreshFailure? {
        get
        set
    }
    var latestAccountBalance: FinanceKit.InternalAccountBalance? {
        get
    }
    var latestAccountBalanceObject: FinanceKit.ManagedInternalAccountBalance? {
        get
    }
    var loadingStatus: FinanceKit.ManagedInternalAccount.LoadingStatus {
        get
        set
    }
    var minimumPaymentAmount: FinanceKit.CurrencyAmount? {
        get
    }
    var nextPaymentDate: Foundation.Date? {
        get
    }
    var originType: FinanceKit.AccountOriginType {
        get
        set
    }
    var overdraftLimit: FinanceKit.CurrencyAmount? {
        get
    }
    var overduePaymentAmount: FinanceKit.CurrencyAmount? {
        get
    }
    var preferences: FinanceKit.InternalAccount.Preferences {
        get
    }
    var purchasingPower: FinanceKit.CurrencyAmount? {
        get
    }
    var recurringPayments: [FinanceKit.RecurringPayment] {
        get
    }
    var scheduledPayments: [FinanceKit.ScheduledPayment] {
        get
    }
    var transactions: [FinanceKit.InternalTransaction] {
        get
    }

    func shouldRefreshAccount(now: Foundation.Date) -> Swift.Bool
    func setAccountBalanceRelationship(_: FinanceKit.ManagedInternalAccountBalance)
    func validateForInsert() throws
    func validateForUpdate() throws
    func shouldRefreshPaymentInfo(now: Foundation.Date) -> Swift.Bool
    func shouldRefreshTransactions(now: Foundation.Date) -> Swift.Bool
    func updatePlaceholderCurrency(_: Swift.String)
    func setTransactionRelationship(_: FinanceKit.ManagedInternalTransaction)
    func shouldRefreshScheduledPayments(now: Foundation.Date) -> Swift.Bool
    func setPreauthorizedPaymentRelationship(_: FinanceKit.ManagedPreauthorizedPayment)

    static var attributeNamesByKeyPath: [Swift.String : Swift.String] {
        get
    }
    static var entityName: Swift.String {
        get
    }
    static var mappedKeyPaths: [Swift.AnyKeyPath : Swift.String] {
        get
    }
    static var placeholderFallbackCurrency: Swift.String {
        get
    }

    static func predicateForAccount(withPublicAccountID: Foundation.UUID) -> __C.NSPredicate
    static func predicateForAccount(withExternalAccountID: Swift.String) -> __C.NSPredicate
    static func predicateForAccount(with: FinanceKit.FullyQualifiedAccountIdentifier) -> __C.NSPredicate
    static func predicateForAccount(accountID: Swift.String, consentID: Swift.String) -> __C.NSPredicate
    static func existingEnabledAccount(withPrimaryAccountIdentifier: Swift.String, context: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func deletePlaceholderAccount(withPrimaryAccountIdentifier: Swift.String, in: __C.NSManagedObjectContext)
    static func existingPlaceholderAccount(forPassWithPrimaryAccountID: Swift.String, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func predicateForAppleCardAccountEligibleForUpcomingTransactions() -> __C.NSPredicate
    static func predicateForAccountsEligibleForUpcomingTransactions() -> __C.NSPredicate
    static func predicateForConnectedAccountsEligibleForUpcomingTransactions() -> __C.NSPredicate
    static func deleteAccount(with: FinanceKit.FullyQualifiedAccountIdentifier, in: __C.NSManagedObjectContext) throws
    static func existingAccount(withPublicAccountID: Foundation.UUID, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func existingAccount(withExternalAccountID: Swift.String, mustBeLinked: Swift.Bool, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func existingAccount(withAccountID: Foundation.UUID, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func existingAccount(with: FinanceKit.FullyQualifiedAccountIdentifier, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func existingAccount(accountID: Swift.String, consentID: Swift.String, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount?
    static func fetchRequest() -> __C.NSFetchRequest<FinanceKit.ManagedInternalAccount>
    static func existingObject(with: __C.NSManagedObjectID, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount
    static func linkedAccounts(withInstitutionID: Swift.String, in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
    static func existingAccounts(withPublicAccountIDs: Swift.Set<Foundation.UUID>, in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
    static func existingAccounts(withExternalAccountIDs: [Swift.String], in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
    static func existingAccounts(withInstitutionID: Swift.String, in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
    static func createPlaceholder(forPassWithPrimaryAccountID: Swift.String, currency: Swift.String, in: __C.NSManagedObjectContext) throws -> FinanceKit.ManagedInternalAccount
    static func placeholderCurrency(forIssuerCountryCode: Swift.String?) -> Swift.String
    static func predicateForAccounts(withPublicAccountIDs: Swift.Set<Foundation.UUID>) -> __C.NSPredicate
    static func predicateForAccounts(withoutAccountStatus: FinanceKit.AccountStatus) -> __C.NSPredicate
    static func predicateForAccounts(withFqaids: [FinanceKit.FullyQualifiedAccountIdentifier]) -> __C.NSPredicate
    static func predicateForAccounts(withConsentID: Swift.String) -> __C.NSPredicate
    static func predicateForAccounts(withInstitutionID: Swift.String) -> __C.NSPredicate
    static func predicateForAccounts(grantingAccessByConsentUUID: Foundation.UUID) -> __C.NSPredicate
    static func dictionaryFetchRequest() -> __C.NSFetchRequest<__C.NSDictionary>
    static func predicateForLinkedAccounts(originTypes: [FinanceKit.AccountOriginType]) -> __C.NSPredicate
    static func predicateForLinkedAccounts(withInstitutionID: Swift.String, originTypes: [FinanceKit.AccountOriginType]) -> __C.NSPredicate
    static func originTypesWithTransactionsFetchRequest(in: [FinanceKit.AccountOriginType]) -> __C.NSFetchRequest<__C.NSDictionary>
    static func predicateForThirdPartyShareableAccounts() -> __C.NSPredicate
    static func predicateForTransactionPickerShareableAccounts() -> __C.NSPredicate
    static func existingPlaceholderAccountsForUnconnectedPasses(in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
    static func update(_: FinanceKit.ManagedInternalAccount, consent: FinanceKit.ManagedConsent, withRawAccount: FinanceKit.RawBankConnectData.Account)
    static func update(_: FinanceKit.ManagedInternalAccount, consent: FinanceKit.ManagedConsent, withAppleAccount: __C.FKAppleAccount)
    static func migrate(_: FinanceKit.ManagedInternalAccount, to: FinanceKit.ManagedConsent)
    static func accounts(forInstitutionID: Swift.String, in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]
    static func accounts(grantedByConsentID: Swift.String, in: __C.NSManagedObjectContext) throws -> [FinanceKit.ManagedInternalAccount]

    deinit
}