func (o *Total) GetCurrentPayOk() (*Pay, bool) {
	if o == nil || o.CurrentPay == nil {
		return nil, false
	}
	return o.CurrentPay, true
}
GetCurrentPayOk returns a tuple with the CurrentPay field value if set, nil otherwise
and a boolean to check if the value has been set.
package plaid
import (
	"encoding/json"
)
type Total struct {
	CanonicalDescription NullableString `json:"canonical_description,omitempty"`
	Description NullableString `json:"description,omitempty"`
	CurrentPay *Pay `json:"current_pay,omitempty"`
	YtdPay *Pay `json:"ytd_pay,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _Total Total
func NewTotal() *Total {
	this := Total{}
	return &this
}
func NewTotalWithDefaults() *Total {
	this := Total{}
	return &this
}
func (o *Total) GetCanonicalDescription() string {
	if o == nil || o.CanonicalDescription.Get() == nil {
		var ret string
		return ret
	}
	return *o.CanonicalDescription.Get()
}
func (o *Total) GetCanonicalDescriptionOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CanonicalDescription.Get(), o.CanonicalDescription.IsSet()
}
func (o *Total) HasCanonicalDescription() bool {
	if o != nil && o.CanonicalDescription.IsSet() {
		return true
	}
	return false
}
func (o *Total) SetCanonicalDescription(v string) {
	o.CanonicalDescription.Set(&v)
}
func (o *Total) SetCanonicalDescriptionNil() {
	o.CanonicalDescription.Set(nil)
}
func (o *Total) UnsetCanonicalDescription() {
	o.CanonicalDescription.Unset()
}
func (o *Total) GetDescription() string {
	if o == nil || o.Description.Get() == nil {
		var ret string
		return ret
	}
	return *o.Description.Get()
}
func (o *Total) GetDescriptionOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Description.Get(), o.Description.IsSet()
}
func (o *Total) HasDescription() bool {
	if o != nil && o.Description.IsSet() {
		return true
	}
	return false
}
func (o *Total) SetDescription(v string) {
	o.Description.Set(&v)
}
func (o *Total) SetDescriptionNil() {
	o.Description.Set(nil)
}
func (o *Total) UnsetDescription() {
	o.Description.Unset()
}
func (o *Total) GetCurrentPay() Pay {
	if o == nil || o.CurrentPay == nil {
		var ret Pay
		return ret
	}
	return *o.CurrentPay
}