Files
online-backend/internal/payment/paymenthistory/storage.go
GuwandykA ac94e0dd8a
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
add /order-id
2026-09-21 19:52:10 +05:00

13 lines
461 B
Go

package paymenthistory
import "context"
type Repository interface {
List(ctx context.Context, filter ListFilter) (ListPaymentHistoryDTO, error)
// Logs returns the full visa_master_payment_logs audit trail for a
// single order, oldest first.
Logs(ctx context.Context, orderID int64) ([]PaymentLogDTO, error)
// OwnerInfo returns an order's owning user/branch, for rbac.GuardOrder.
OwnerInfo(ctx context.Context, orderID int64) (*int64, int64, error)
}