Objective-CclassPassKitCore
PKSpendingSummaryFetcher
@interface PKSpendingSummaryFetcher : NSObject <PKPaymentDataProviderDelegate, PKAccountServiceObserver>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolPKPaymentDataProviderDelegate
- protocolPKAccountServiceObserver
Members 60
- method
+ (id)_sortedTransactions:(id)arg0 ascending:(BOOL)arg1; - method
+ (id)_spendingCategoriesFromTransactions:(id)arg0 currencyCode:(id)arg1; - method
+ (id)_spendingMerchantsFromTransaction:(id)arg0 currencyCode:(id)arg1; - method
+ (id)_summaryWithTransactions:(id)arg0 transactionSourceCollection:(id)arg1 currency:(id)arg2 type:(unsigned long long)arg3 startDate:(id)arg4 endDate:(id)arg5 lastSummary:(id)arg6 altDSID:(id)arg7; - method
+ (void)enumerateSummaryUnitsWithinSummaryPeriod:(unsigned long long)arg0 startDate:(id)arg1 endDate:(id)arg2 block:(id /* block */)arg3; - method
+ (id)nextStartOfWeekFromDate:(id)arg0; - method
+ (id)previousStartOfWeekFromDate:(id)arg0; - method
+ (id)summaryWithTransactions:(id)arg0 transactionSourceCollection:(id)arg1 accountUser:(id)arg2 currency:(id)arg3 type:(unsigned long long)arg4 startDate:(id)arg5 endDate:(id)arg6 lastSummary:(id)arg7; - ivar
PKAccount *_account;+0x10 - ivar
PKAccountUser *_accountUser;+0xb0 - ivar
NSMutableDictionary *_blockPendingRequests;+0x88 - ivar
NSCalendar *_currentCalendar;+0x60 - ivar
NSDate *_earliestSpendingByAnotherUser;+0xa8 - ivar
PKSpendingInsightsFetcher *_insightsFetcher;+0xa0 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lockTransactions;+0x30 - ivar
NSCache *_monthlySummaryItemsPerStartDate;+0x20 - ivar
NSDate *_newestTransactionDate;+0x40 - ivar
NSHashTable *_observers;+0x70 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _observersLock;+0x68 - ivar
NSDate *_oldestTransactionDate;+0x38 - ivar
PKPaymentDefaultDataProvider *_paymentDataProvider;+0x58 - ivar
NSMutableOrderedSet *_pendingRequests;+0x80 - ivar
BOOL _processingRequest;+0x90 - ivar
NSObject<OS_dispatch_queue> *_replyQueue;+0x50 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _requestsLock;+0x78 - ivar
NSArray *_statements;+0x98 - ivar
PKTransactionSourceCollection *_transactionSourceCollection;+0x8 - ivar
NSCache *_weeklySummaryItemsPerStartDate;+0x18 - ivar
NSObject<OS_dispatch_queue> *_workQueue;+0x48 - ivar
NSCache *_yearlySummaryItemsPerStartDate;+0x28 - method
- (void).cxx_destruct; - method
- (void)_accessObserversWithHandler:(id /* block */)arg0; - method
- (void)_addInsightsToSummary:(id)arg0 previousSummary:(id)arg1 completion:(id /* block */)arg2; - method
- (void)_addInterestToSummaryIfNecessary:(id)arg0 withLastPeriodChange:(BOOL)arg1 completion:(id /* block */)arg2; - method
- (id)_cacheForType:(unsigned long long)arg0; - method
- (id)_cachedSpendingSummaryStartingWithDate:(id)arg0 type:(unsigned long long)arg1 withLastPeriodChange:(BOOL)arg2; - method
- (id)_endDateForStartDate:(id)arg0 ofSummaryType:(unsigned long long)arg1; - method
- (void)_fetchStatementsIfNecessaryWithCompletion:(id /* block */)arg0; - method
- (void)_processNextRequest; - method
- (void)_resetCurrentCalendar; - method
- (void)_spendingSummaryStartingWithDate:(id)arg0 endDate:(id)arg1 type:(unsigned long long)arg2 withLastPeriodChange:(BOOL)arg3 completion:(id /* block */)arg4; - method
- (id)_summaryForComparisonForPeriodStartingWithDate:(id)arg0 endDate:(id)arg1 type:(unsigned long long)arg2; - method
- (void)_timeZoneChanged:(id)arg0; - method
- (id)accountUser; - method
- (void)availableSummaries:(id /* block */)arg0; - method
- (id)cachedSpendingSummaryStartingWithDate:(id)arg0 type:(unsigned long long)arg1; - method
- (id)categoryTotalSpendingSummaryStartingWithDate:(id)arg0 type:(unsigned long long)arg1; - method
- (void)dealloc; - method
- (id)initWithTransactionSourceCollection:(id)arg0 account:(id)arg1 accountUser:(id)arg2; - method
- (void)prioritizeSpendingSummaryStartingWithDate:(id)arg0 type:(unsigned long long)arg1; - method
- (void)registerObserver:(id)arg0; - method
- (void)spendingSummaryStartingWithDate:(id)arg0 type:(unsigned long long)arg1 includingLastPeriodChange:(BOOL)arg2 completion:(id /* block */)arg3; - method
- (void)statementsChangedForAccountIdentifier:(id)arg0; - method
- (void)transactionSourceIdentifier:(id)arg0 didReceiveTransaction:(id)arg1; - method
- (void)unregisterObserver:(id)arg0; - property
@property(readonly, nonatomic) PKAccountUser *accountUser; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) Class superclass;
Header
@interface PKSpendingSummaryFetcher : NSObject <PKPaymentDataProviderDelegate, PKAccountServiceObserver> { PKTransactionSourceCollection *_transactionSourceCollection; PKAccount *_account; NSCache *_weeklySummaryItemsPerStartDate; NSCache *_monthlySummaryItemsPerStartDate; NSCache *_yearlySummaryItemsPerStartDate; struct os_unfair_lock_s _lockTransactions; NSDate *_oldestTransactionDate; NSDate *_newestTransactionDate; NSObject<OS_dispatch_queue> *_workQueue; NSObject<OS_dispatch_queue> *_replyQueue; PKPaymentDefaultDataProvider *_paymentDataProvider; NSCalendar *_currentCalendar; struct os_unfair_lock_s _observersLock; NSHashTable *_observers; struct os_unfair_lock_s _requestsLock; NSMutableOrderedSet *_pendingRequests; NSMutableDictionary *_blockPendingRequests; BOOL _processingRequest; NSArray *_statements; PKSpendingInsightsFetcher *_insightsFetcher; NSDate *_earliestSpendingByAnotherUser; PKAccountUser *_accountUser; } @property (nonatomic, readonly) PKAccountUser *accountUser; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (id)_sortedTransactions:(id)_sortedTransactions ascending:(BOOL)ascending; + (id)_spendingCategoriesFromTransactions:(id)transactions currencyCode:(id)currencyCode; + (id)_spendingMerchantsFromTransaction:(id)transaction currencyCode:(id)currencyCode; + (id)_summaryWithTransactions:(id)transactions transactionSourceCollection:(id)transactionSourceCollection currency:(id)currency type:(unsigned long long)type startDate:(id)startDate endDate:(id)endDate lastSummary:(id)lastSummary altDSID:(id)altDSID; + (void)enumerateSummaryUnitsWithinSummaryPeriod:(unsigned long long)summaryPeriod startDate:(id)startDate endDate:(id)endDate block:(id /* block */)block; + (id)nextStartOfWeekFromDate:(id)date; + (id)previousStartOfWeekFromDate:(id)date; + (id)summaryWithTransactions:(id)transactions transactionSourceCollection:(id)transactionSourceCollection accountUser:(id)accountUser currency:(id)currency type:(unsigned long long)type startDate:(id)startDate endDate:(id)endDate lastSummary:(id)lastSummary; - (void)_timeZoneChanged:(id)_timeZoneChanged; - (void)unregisterObserver:(id)unregisterObserver; - (void)registerObserver:(id)registerObserver; - (void).cxx_destruct; - (void)dealloc; - (void)_accessObserversWithHandler:(id /* block */)handler; - (void)_addInsightsToSummary:(id)summary previousSummary:(id)previousSummary completion:(id /* block */)completion; - (void)_addInterestToSummaryIfNecessary:(id)summaryIfNecessary withLastPeriodChange:(BOOL)withLastPeriodChange completion:(id /* block */)completion; - (id)_cacheForType:(unsigned long long)type; - (id)_cachedSpendingSummaryStartingWithDate:(id)date type:(unsigned long long)type withLastPeriodChange:(BOOL)withLastPeriodChange; - (id)_endDateForStartDate:(id)startDate ofSummaryType:(unsigned long long)ofSummaryType; - (void)_fetchStatementsIfNecessaryWithCompletion:(id /* block */)completion; - (void)_processNextRequest; - (void)_resetCurrentCalendar; - (void)_spendingSummaryStartingWithDate:(id)date endDate:(id)endDate type:(unsigned long long)type withLastPeriodChange:(BOOL)withLastPeriodChange completion:(id /* block */)completion; - (id)_summaryForComparisonForPeriodStartingWithDate:(id)date endDate:(id)endDate type:(unsigned long long)type; - (id)accountUser; - (void)availableSummaries:(id /* block */)availableSummaries; - (id)cachedSpendingSummaryStartingWithDate:(id)date type:(unsigned long long)type; - (id)categoryTotalSpendingSummaryStartingWithDate:(id)date type:(unsigned long long)type; - (id)initWithTransactionSourceCollection:(id)transactionSourceCollection account:(id)account accountUser:(id)accountUser; - (void)prioritizeSpendingSummaryStartingWithDate:(id)date type:(unsigned long long)type; - (void)spendingSummaryStartingWithDate:(id)date type:(unsigned long long)type includingLastPeriodChange:(BOOL)includingLastPeriodChange completion:(id /* block */)completion; - (void)statementsChangedForAccountIdentifier:(id)accountIdentifier; - (void)transactionSourceIdentifier:(id)transactionSourceIdentifier didReceiveTransaction:(id)didReceiveTransaction; @end