usecases

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL