Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.36 KB

Cost.md

File metadata and controls

93 lines (50 loc) · 2.36 KB

Cost

Properties

Name Type Description Notes
TotalInCents int32
Total float32
CurrencyCode string

Methods

NewCost

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

NewCostWithDefaults

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

GetTotalInCents

func (o *Cost) GetTotalInCents() int32

GetTotalInCents returns the TotalInCents field if non-nil, zero value otherwise.

GetTotalInCentsOk

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.

SetTotalInCents

func (o *Cost) SetTotalInCents(v int32)

SetTotalInCents sets TotalInCents field to given value.

GetTotal

func (o *Cost) GetTotal() float32

GetTotal returns the Total field if non-nil, zero value otherwise.

GetTotalOk

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.

SetTotal

func (o *Cost) SetTotal(v float32)

SetTotal sets Total field to given value.

GetCurrencyCode

func (o *Cost) GetCurrencyCode() string

GetCurrencyCode returns the CurrencyCode field if non-nil, zero value otherwise.

GetCurrencyCodeOk

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.

SetCurrencyCode

func (o *Cost) SetCurrencyCode(v string)

SetCurrencyCode sets CurrencyCode field to given value.

[Back to Model list] [Back to API list] [Back to README]