Name | Type | Description | Notes |
---|---|---|---|
Code | string | The three-letter ISO currency code. This is the currency that is associated with the payment amount. | |
Symbol | string | The currency symbol. | |
Exponent | int32 | The log base 10 of the number of times we have to multiply the major unit to get the minor unit. Should be 0 for VN and 2 for other countries (SG/MY/ID/TH/PH/KH). |
func NewCurrency(code string, symbol string, exponent int32, ) *Currency
NewCurrency instantiates a new Currency 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 NewCurrencyWithDefaults() *Currency
NewCurrencyWithDefaults instantiates a new Currency 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 *Currency) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *Currency) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Currency) SetCode(v string)
SetCode sets Code field to given value.
func (o *Currency) GetSymbol() string
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
func (o *Currency) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Currency) SetSymbol(v string)
SetSymbol sets Symbol field to given value.
func (o *Currency) GetExponent() int32
GetExponent returns the Exponent field if non-nil, zero value otherwise.
func (o *Currency) GetExponentOk() (*int32, bool)
GetExponentOk returns a tuple with the Exponent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Currency) SetExponent(v int32)
SetExponent sets Exponent field to given value.