func (o *MortgageInterestRate) SetType(v string) {
	o.Type.Set(&v)
}
SetType sets field value
package plaid
import (
	"encoding/json"
)
type MortgageInterestRate struct {
	Percentage NullableFloat32 `json:"percentage"`
	Type NullableString `json:"type"`
	AdditionalProperties map[string]interface{}
}
type _MortgageInterestRate MortgageInterestRate
func NewMortgageInterestRate(percentage NullableFloat32, type_ NullableString) *MortgageInterestRate {
	this := MortgageInterestRate{}
	this.Percentage = percentage
	this.Type = type_
	return &this
}
func NewMortgageInterestRateWithDefaults() *MortgageInterestRate {
	this := MortgageInterestRate{}
	return &this
}
func (o *MortgageInterestRate) GetPercentage() float32 {
	if o == nil || o.Percentage.Get() == nil {
		var ret float32
		return ret
	}
	return *o.Percentage.Get()
}
func (o *MortgageInterestRate) GetPercentageOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Percentage.Get(), o.Percentage.IsSet()
}
func (o *MortgageInterestRate) SetPercentage(v float32) {
	o.Percentage.Set(&v)
}
func (o *MortgageInterestRate) GetType() string {
	if o == nil || o.Type.Get() == nil {
		var ret string
		return ret
	}
	return *o.Type.Get()
}
func (o *MortgageInterestRate) GetTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Type.Get(), o.Type.IsSet()
}