Files
standard-covoiturage/prices.go
2022-12-12 00:06:27 +01:00

16 lines
265 B
Go

package standardcovoiturage
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"`
}