standard-covoiturage/prices.go

16 lines
265 B
Go
Raw Permalink Normal View History

2022-12-11 23:06:27 +00:00
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"`
}