func (o *Deductions) GetSubtotals() []Total {
	if o == nil || o.Subtotals == nil {
		var ret []Total
		return ret
	}
	return *o.Subtotals
}
GetSubtotals returns the Subtotals field value if set, zero value otherwise.
package plaid
import (
	"encoding/json"
)
type Deductions struct {
	Subtotals *[]Total `json:"subtotals,omitempty"`
	Breakdown []DeductionsBreakdown `json:"breakdown"`
	Totals *[]Total `json:"totals,omitempty"`
	Total DeductionsTotal `json:"total"`
	AdditionalProperties map[string]interface{}
}
type _Deductions Deductions
func NewDeductions(breakdown []DeductionsBreakdown, total DeductionsTotal) *Deductions {
	this := Deductions{}
	this.Breakdown = breakdown
	this.Total = total
	return &this
}
func NewDeductionsWithDefaults() *Deductions {
	this := Deductions{}
	return &this
}