18 lines
333 B
Go
18 lines
333 B
Go
package pricing
|
|
|
|
import (
|
|
"time"
|
|
|
|
"cloud.o-forge.io/core/oc-lib/tools"
|
|
)
|
|
|
|
type PricedItemITF interface {
|
|
GetID() string
|
|
GetType() tools.DataType
|
|
IsPurchased(request *tools.APIRequest) bool
|
|
GetCreatorID() string
|
|
GetLocationStart() *time.Time
|
|
GetLocationEnd() *time.Time
|
|
GetPrice(request *tools.APIRequest) (float64, error)
|
|
}
|