13 lines
461 B
Go
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)
|
|
}
|