set up unfonctionnal rework, TODO -> pricing separation

This commit is contained in:
mr
2024-12-17 10:42:00 +01:00
parent 7696f065f8
commit be3b09b683
20 changed files with 199 additions and 174 deletions

View File

@@ -9,7 +9,7 @@ import (
type PricedItemITF interface {
GetID() string
GetType() tools.DataType
IsBuying(request *tools.APIRequest) bool
IsPurchased(request *tools.APIRequest) bool
GetCreatorID() string
GetLocationStart() *time.Time
GetLocationEnd() *time.Time

View File

@@ -9,7 +9,7 @@ import (
type PricingProfileITF interface {
GetID() string
GetPrice(quantity float64, val float64, start time.Time, end time.Time, request *tools.APIRequest, params ...string) (float64, error)
IsBuying() bool
IsPurchased() bool
GetOverrideStrategyValue() int
}