saleprice

package
v1.4.5-alpha1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConstModelNameSalePrice        = "SalePrice"
	ConstSalePriceDbCollectionName = "sale_prices"
)

Public constants

View Source
const (
	ConstErrorModule = "saleprice"
	ConstErrorLevel  = env.ConstErrorLevelModel
)

Package global constants

Variables

This section is empty.

Functions

This section is empty.

Types

type InterfaceSalePrice

type InterfaceSalePrice interface {
	GetAmount() float64
	SetAmount(float64) error

	GetEndDatetime() time.Time
	SetEndDatetime(time.Time) error

	GetProductID() string
	SetProductID(string) error

	GetStartDatetime() time.Time
	SetStartDatetime(time.Time) error

	models.InterfaceObject
	models.InterfaceStorable
}

InterfaceSalePrice represents interface to access business layer implementation of sale price object

func GetSalePriceModel

func GetSalePriceModel() (InterfaceSalePrice, error)

GetSalePriceModel retrieves current InterfaceSalePrice model implementation

type InterfaceSalePriceCollection

type InterfaceSalePriceCollection interface {
	ListSalePrices() []InterfaceSalePrice

	models.InterfaceCollection
}

InterfaceSalePriceCollection represents interface to access business layer implementation of sale price collection

func GetSalePriceCollectionModel

func GetSalePriceCollectionModel() (InterfaceSalePriceCollection, error)

GetSalePriceCollectionModel retrieves current InterfaceSalePriceCollection model implementation

Jump to

Keyboard shortcuts

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