Retrieves a transaction by reference
(ctx context.Context, reference string)
| 50 | IsParentTransactionVoid(cxt context.Context, parentID string) (bool, error) // Checks if a parent transaction is void |
| 51 | GetTransactionByRef(cxt context.Context, reference string) (model.Transaction, error) // Retrieves a transaction by reference |
| 52 | TransactionExistsByRef(ctx context.Context, reference string) (bool, error) // Checks if a transaction exists by reference |
| 53 | GetExistingTransactionReferences(ctx context.Context, references []string) (map[string]struct{}, error) // Gets existing transaction references in bulk |
| 54 | UpdateTransactionStatus(cxt context.Context, id string, status string) error // Updates the status of a transaction |
| 55 | GetAllTransactions(cxt context.Context, limit, offset int) ([]model.Transaction, error) // Retrieves all transactions |
no outgoing calls
no test coverage detected