func (o *DeductionsTotal) GetYtdAmountOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.YtdAmount.Get(), o.YtdAmount.IsSet()
}
GetYtdAmountOk returns a tuple with the YtdAmount field value if set, nil otherwise
and a boolean to check if the value has been set.
NOTE: If the value is an explicit nil, `nil, true` will be returned
package plaid
import (
	"encoding/json"
)
type DeductionsTotal struct {
	CurrentAmount NullableFloat32 `json:"current_amount,omitempty"`
	IsoCurrencyCode NullableString `json:"iso_currency_code,omitempty"`
	UnofficialCurrencyCode NullableString `json:"unofficial_currency_code,omitempty"`
	YtdAmount NullableFloat32 `json:"ytd_amount,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _DeductionsTotal DeductionsTotal
func NewDeductionsTotal() *DeductionsTotal {
	this := DeductionsTotal{}
	return &this
}
func NewDeductionsTotalWithDefaults() *DeductionsTotal {
	this := DeductionsTotal{}
	return &this
}
func (o *DeductionsTotal) GetCurrentAmount() float32 {
	if o == nil || o.CurrentAmount.Get() == nil {
		var ret float32
		return ret
	}
	return *o.CurrentAmount.Get()
}
func (o *DeductionsTotal) GetCurrentAmountOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CurrentAmount.Get(), o.CurrentAmount.IsSet()
}
func (o *DeductionsTotal) HasCurrentAmount() bool {
	if o != nil && o.CurrentAmount.IsSet() {
		return true
	}
	return false
}
func (o *DeductionsTotal) SetCurrentAmount(v float32) {
	o.CurrentAmount.Set(&v)
}
func (o *DeductionsTotal) SetCurrentAmountNil() {
	o.CurrentAmount.Set(nil)
}
func (o *DeductionsTotal) UnsetCurrentAmount() {
	o.CurrentAmount.Unset()
}
func (o *DeductionsTotal) GetIsoCurrencyCode() string {
	if o == nil || o.IsoCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.IsoCurrencyCode.Get()
}
func (o *DeductionsTotal) GetIsoCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.IsoCurrencyCode.Get(), o.IsoCurrencyCode.IsSet()
}
func (o *DeductionsTotal) HasIsoCurrencyCode() bool {
	if o != nil && o.IsoCurrencyCode.IsSet() {
		return true
	}
	return false
}
func (o *DeductionsTotal) SetIsoCurrencyCode(v string) {
	o.IsoCurrencyCode.Set(&v)
}
func (o *DeductionsTotal) SetIsoCurrencyCodeNil() {
	o.IsoCurrencyCode.Set(nil)
}
func (o *DeductionsTotal) UnsetIsoCurrencyCode() {
	o.IsoCurrencyCode.Unset()
}
func (o *DeductionsTotal) GetUnofficialCurrencyCode() string {
	if o == nil || o.UnofficialCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.UnofficialCurrencyCode.Get()
}
func (o *DeductionsTotal) GetUnofficialCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.UnofficialCurrencyCode.Get(), o.UnofficialCurrencyCode.IsSet()
}
func (o *DeductionsTotal) HasUnofficialCurrencyCode() bool {
	if o != nil && o.UnofficialCurrencyCode.IsSet() {
		return true
	}
	return false
}
func (o *DeductionsTotal) SetUnofficialCurrencyCode(v string) {
	o.UnofficialCurrencyCode.Set(&v)
}
func (o *DeductionsTotal) SetUnofficialCurrencyCodeNil() {
	o.UnofficialCurrencyCode.Set(nil)
}
func (o *DeductionsTotal) UnsetUnofficialCurrencyCode() {
	o.UnofficialCurrencyCode.Unset()
}
func (o *DeductionsTotal) GetYtdAmount() float32 {
	if o == nil || o.YtdAmount.Get() == nil {
		var ret float32
		return ret
	}
	return *o.YtdAmount.Get()
}