Name | Type | Description | Notes |
---|---|---|---|
TotalInCents | int32 | ||
Total | float32 | ||
CurrencyCode | string |
func NewCost(totalInCents int32, total float32, currencyCode string, ) *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) GetTotalInCents() int32
GetTotalInCents returns the TotalInCents field if non-nil, zero value otherwise.
func (o *Cost) GetTotalInCentsOk() (*int32, bool)
GetTotalInCentsOk returns a tuple with the TotalInCents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cost) SetTotalInCents(v int32)
SetTotalInCents sets TotalInCents field to given value.
func (o *Cost) GetTotal() float32
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *Cost) GetTotalOk() (*float32, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cost) SetTotal(v float32)
SetTotal sets Total field to given value.
func (o *Cost) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field if non-nil, zero value otherwise.
func (o *Cost) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cost) SetCurrencyCode(v string)
SetCurrencyCode sets CurrencyCode field to given value.