Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Currency | string | ||
Price | float64 | ||
Product | Pointer to Product | [optional] |
func NewPrice(id string, currency string, price float64, ) *Price
NewPrice instantiates a new Price object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPriceWithDefaults() *Price
NewPriceWithDefaults instantiates a new Price object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Price) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Price) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetId(v string)
SetId sets Id field to given value.
func (o *Price) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *Price) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *Price) GetPrice() float64
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *Price) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetPrice(v float64)
SetPrice sets Price field to given value.
func (o *Price) GetProduct() Product
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *Price) GetProductOk() (*Product, bool)
GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Price) SetProduct(v Product)
SetProduct sets Product field to given value.
func (o *Price) HasProduct() bool
HasProduct returns a boolean if a field has been set.