func (o *EarningsBreakdown) SetUnofficialCurrencyCodeNil() {
	o.UnofficialCurrencyCode.Set(nil)
}
SetUnofficialCurrencyCodeNil sets the value for UnofficialCurrencyCode to be an explicit nil
package plaid
import (
	"encoding/json"
)
type EarningsBreakdown struct {
	CanonicalDescription NullableString `json:"canonical_description,omitempty"`
	CurrentAmount NullableFloat32 `json:"current_amount,omitempty"`
	Description NullableString `json:"description,omitempty"`
	Hours NullableFloat32 `json:"hours,omitempty"`
	IsoCurrencyCode NullableString `json:"iso_currency_code,omitempty"`
	Rate NullableFloat32 `json:"rate,omitempty"`
	UnofficialCurrencyCode NullableString `json:"unofficial_currency_code,omitempty"`
	YtdAmount NullableFloat32 `json:"ytd_amount,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _EarningsBreakdown EarningsBreakdown
func NewEarningsBreakdown() *EarningsBreakdown {
	this := EarningsBreakdown{}
	return &this
}
func NewEarningsBreakdownWithDefaults() *EarningsBreakdown {
	this := EarningsBreakdown{}
	return &this
}
func (o *EarningsBreakdown) GetCanonicalDescription() string {
	if o == nil || o.CanonicalDescription.Get() == nil {
		var ret string
		return ret
	}
	return *o.CanonicalDescription.Get()
}
func (o *EarningsBreakdown) GetCanonicalDescriptionOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CanonicalDescription.Get(), o.CanonicalDescription.IsSet()
}
func (o *EarningsBreakdown) HasCanonicalDescription() bool {
	if o != nil && o.CanonicalDescription.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetCanonicalDescription(v string) {
	o.CanonicalDescription.Set(&v)
}
func (o *EarningsBreakdown) SetCanonicalDescriptionNil() {
	o.CanonicalDescription.Set(nil)
}
func (o *EarningsBreakdown) UnsetCanonicalDescription() {
	o.CanonicalDescription.Unset()
}
func (o *EarningsBreakdown) GetCurrentAmount() float32 {
	if o == nil || o.CurrentAmount.Get() == nil {
		var ret float32
		return ret
	}
	return *o.CurrentAmount.Get()
}
func (o *EarningsBreakdown) GetCurrentAmountOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CurrentAmount.Get(), o.CurrentAmount.IsSet()
}
func (o *EarningsBreakdown) HasCurrentAmount() bool {
	if o != nil && o.CurrentAmount.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetCurrentAmount(v float32) {
	o.CurrentAmount.Set(&v)
}
func (o *EarningsBreakdown) SetCurrentAmountNil() {
	o.CurrentAmount.Set(nil)
}
func (o *EarningsBreakdown) UnsetCurrentAmount() {
	o.CurrentAmount.Unset()
}
func (o *EarningsBreakdown) GetDescription() string {
	if o == nil || o.Description.Get() == nil {
		var ret string
		return ret
	}
	return *o.Description.Get()
}
func (o *EarningsBreakdown) GetDescriptionOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Description.Get(), o.Description.IsSet()
}
func (o *EarningsBreakdown) HasDescription() bool {
	if o != nil && o.Description.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetDescription(v string) {
	o.Description.Set(&v)
}
func (o *EarningsBreakdown) SetDescriptionNil() {
	o.Description.Set(nil)
}
func (o *EarningsBreakdown) UnsetDescription() {
	o.Description.Unset()
}
func (o *EarningsBreakdown) GetHours() float32 {
	if o == nil || o.Hours.Get() == nil {
		var ret float32
		return ret
	}
	return *o.Hours.Get()
}
func (o *EarningsBreakdown) GetHoursOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Hours.Get(), o.Hours.IsSet()
}
func (o *EarningsBreakdown) HasHours() bool {
	if o != nil && o.Hours.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetHours(v float32) {
	o.Hours.Set(&v)
}
func (o *EarningsBreakdown) SetHoursNil() {
	o.Hours.Set(nil)
}
func (o *EarningsBreakdown) UnsetHours() {
	o.Hours.Unset()
}
func (o *EarningsBreakdown) GetIsoCurrencyCode() string {
	if o == nil || o.IsoCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.IsoCurrencyCode.Get()
}
func (o *EarningsBreakdown) GetIsoCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.IsoCurrencyCode.Get(), o.IsoCurrencyCode.IsSet()
}
func (o *EarningsBreakdown) HasIsoCurrencyCode() bool {
	if o != nil && o.IsoCurrencyCode.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetIsoCurrencyCode(v string) {
	o.IsoCurrencyCode.Set(&v)
}
func (o *EarningsBreakdown) SetIsoCurrencyCodeNil() {
	o.IsoCurrencyCode.Set(nil)
}
func (o *EarningsBreakdown) UnsetIsoCurrencyCode() {
	o.IsoCurrencyCode.Unset()
}
func (o *EarningsBreakdown) GetRate() float32 {
	if o == nil || o.Rate.Get() == nil {
		var ret float32
		return ret
	}
	return *o.Rate.Get()
}
func (o *EarningsBreakdown) GetRateOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Rate.Get(), o.Rate.IsSet()
}
func (o *EarningsBreakdown) HasRate() bool {
	if o != nil && o.Rate.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetRate(v float32) {
	o.Rate.Set(&v)
}
func (o *EarningsBreakdown) SetRateNil() {
	o.Rate.Set(nil)
}
func (o *EarningsBreakdown) UnsetRate() {
	o.Rate.Unset()
}
func (o *EarningsBreakdown) GetUnofficialCurrencyCode() string {
	if o == nil || o.UnofficialCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.UnofficialCurrencyCode.Get()
}
func (o *EarningsBreakdown) GetUnofficialCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.UnofficialCurrencyCode.Get(), o.UnofficialCurrencyCode.IsSet()
}
func (o *EarningsBreakdown) HasUnofficialCurrencyCode() bool {
	if o != nil && o.UnofficialCurrencyCode.IsSet() {
		return true
	}
	return false
}
func (o *EarningsBreakdown) SetUnofficialCurrencyCode(v string) {
	o.UnofficialCurrencyCode.Set(&v)
}