Documentation
¶
Overview ¶
Package adminorder implements the admin-side order management subdomain of the billing module. Only the module facade may reach it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivationEnqueuer ¶
ActivationEnqueuer mirrors the facade's activation queue port.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(orders repository.OrderRepo, payments repository.PaymentRepo, tx Transactor, queue ActivationEnqueuer) *Service
func (*Service) List ¶
func (s *Service) List(ctx context.Context, req *dto.GetOrderListRequest) (*dto.GetOrderListResponse, error)
func (*Service) UpdateStatus ¶
type Transactor ¶
type Transactor interface {
InBillingTx(ctx context.Context, fn func(repository.BillingStore) error) error
}
Transactor mirrors the facade's billing-scoped transaction port.
Click to show internal directories.
Click to hide internal directories.