Records an external transaction
(ctx context.Context, rule *model.MatchingRule)
| 159 | GetExternalTransactionsPaginated(ctx context.Context, uploadID string, batchSize int, offset int64) ([]*model.ExternalTransaction, error) // Retrieves external transactions in a paginated manner |
| 160 | RecordExternalTransaction(ctx context.Context, tx *model.ExternalTransaction, reconciliationID string) error // Records an external transaction |
| 161 | RecordMatchingRule(ctx context.Context, rule *model.MatchingRule) error // Records a matching rule |
| 162 | GetMatchingRules(ctx context.Context) ([]*model.MatchingRule, error) // Retrieves all matching rules |
| 163 | GetMatchingRule(ctx context.Context, id string) (*model.MatchingRule, error) // Retrieves a matching rule by ID |
| 164 | UpdateMatchingRule(ctx context.Context, rule *model.MatchingRule) error // Updates a matching rule |