/*
 * Solidarity Mobility API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * API version: 1.0.0
 * Generated by: OpenAPI Generator (https://openapi-generator.tech)
 */

package openapi

type Price struct {

	// Either « FREE », « PAYING » or « UNKNOWN ». « UNKNOWN » is given when it should be « PAYING » but we cannot set the price yet.
	Type string `json:"type,omitempty"`

	// Carpooling passenger cost estimate. In the case of integrated booking by API, amount expected by the carpooling operator.
	Amount float32 `json:"amount,omitempty"`

	// ISO 4217 code representing the currency of the price.
	Currency string `json:"currency,omitempty"`
}

// AssertPriceRequired checks if the required fields are not zero-ed
func AssertPriceRequired(obj Price) error {
	return nil
}

// AssertPriceConstraints checks if the values respects the defined constraints
func AssertPriceConstraints(obj Price) error {
	return nil
}