Retrieves transactions by parent ID with pagination
(ctx context.Context, transaction *model.Transaction)
| 65 | TransactionExistsByIDOrParentID(ctx context.Context, id string) (bool, error) |
| 66 | GetTransactionsByParent(ctx context.Context, parentID string, limit int, offset int64) ([]*model.Transaction, error) // Retrieves transactions by parent ID with pagination |
| 67 | IsTransactionRefunded(ctx context.Context, transaction *model.Transaction) (bool, error) // Checks if a transaction has already been refunded |
| 68 | GetTransactionsByCriteria(ctx context.Context, minAmount, maxAmount *float64, currency *string, minDate, maxDate *time.Time, limit int, offset int64) ([]*model.Transaction, error) |
| 69 | GetTransactionsByShadowFor(ctx context.Context, parentTransactionID string) ([]model.Transaction, error) // Retrieves shadow transactions by parent transaction ID |
| 70 | GetStuckQueuedTransactions(ctx context.Context, threshold time.Duration, batchSize int) ([]*model.Transaction, error) // Retrieves stuck QUEUED transactions with no child |
no outgoing calls
no test coverage detected