Documentation ¶
Index ¶
- type OrderService
- func (o OrderService) Add(ctx context.Context, in *billing.Order) (*billing.Order, error)
- func (o OrderService) Delete(ctx context.Context, id string) error
- func (o OrderService) Get(ctx context.Context, id string) (*billing.Order, error)
- func (o OrderService) List(ctx context.Context, filter interface{}) ([]*billing.Order, error)
- func (o OrderService) Update(ctx context.Context, in *billing.Order) (*billing.Order, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderService struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger logger.Logger, orderRepository event_store.EventStore) (*OrderService, error)
Click to show internal directories.
Click to hide internal directories.