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
Click to show internal directories.
Click to hide internal directories.