standard-covoiturage/prices.go

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