func (o *EarningsBreakdown) GetCurrentAmount() float32 {
	if o == nil || o.CurrentAmount.Get() == nil {
		var ret float32
		return ret
	}
	return *o.CurrentAmount.Get()
}
GetCurrentAmount returns the CurrentAmount field value if set, zero value otherwise (both if not set or set to explicit null).
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()
}