Name | Type | Description | Notes |
---|---|---|---|
Amount | Pointer to float32 | [optional] | |
Currency | Pointer to string | [optional] | |
Unit | Pointer to string | [optional] |
func NewCost() *Cost
NewCost instantiates a new Cost 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 NewCostWithDefaults() *Cost
NewCostWithDefaults instantiates a new Cost 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 *Cost) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *Cost) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cost) SetAmount(v float32)
SetAmount sets Amount field to given value.
func (o *Cost) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *Cost) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *Cost) 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 *Cost) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *Cost) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (o *Cost) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *Cost) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cost) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *Cost) HasUnit() bool
HasUnit returns a boolean if a field has been set.