initial commit
This commit is contained in:
15
interoperability/ocss/prices.go
Normal file
15
interoperability/ocss/prices.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package ocss
|
||||
|
||||
type PriceType int64
|
||||
|
||||
const (
|
||||
Free PriceType = iota
|
||||
Paying
|
||||
Unknown
|
||||
)
|
||||
|
||||
type Price struct {
|
||||
Type *PriceType `json:"type,omitempty"`
|
||||
Amount *float64 `json:"amount,omitempty"`
|
||||
Currency *string `json:"currency,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user