MNFTransactionSeriesFilter

Objective-C

@interface MNFTransactionSeriesFilter : NSObject <MNFJsonAdapterDelegate>

Swift

class MNFTransactionSeriesFilter : NSObject, MNFJsonAdapterDelegate

The MNFTransactionSeriesFilter class is used to construct a transaction series request.

A transaction series filter should be directly initialized and used when fetching transaction series.

  • @abstract The transaction filter used to filter all transactions into a subset.

    Declaration

    Objective-C

    @property (nonatomic, strong) MNFTransactionFilter *_Nonnull transactionFilter;

    Swift

    var transactionFilter: MNFTransactionFilter { get set }
  • @abstract The time resolution of the series. (None/Day/Week/Month/Year).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull timeResolution;

    Swift

    var timeResolution: String { get set }
  • @abstract Whether or not the series should be over time or just a list containing a single object with the whole period aggregated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nonnull overTime;

    Swift

    var overTime: NSNumber { get set }
  • @abstract Whether or not the transactions used to create the series should be returned.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nonnull includeTransactions;

    Swift

    var includeTransactions: NSNumber { get set }
  • @abstract Whether or not the ids of the transactions used to create the series should be returned.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nonnull includeTransactionIds;

    Swift

    var includeTransactionIds: NSNumber { get set }
  • @abstract The filters used to select which transactions to use to generate the requested series.

    @discussion One filter should be used per series requested. En empty filter returns series for all the transactions in the subset.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<MNFTransactionFilter *> *_Nonnull seriesSelectors;

    Swift

    var seriesSelectors: [MNFTransactionFilter] { get set }