Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderService struct {
Store infra.OrderStore
}
func NewOrderService ¶
func NewOrderService(store infra.OrderStore) *OrderService
func (*OrderService) AddItem ¶
func (s *OrderService) AddItem(items ...entities.Item)
func (*OrderService) Total ¶
func (s *OrderService) Total() float64
Click to show internal directories.
Click to hide internal directories.