func (o *InvestmentsDefaultUpdateWebhook) GetCanceledInvestmentsTransactionsOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.CanceledInvestmentsTransactions, true
}
GetCanceledInvestmentsTransactionsOk returns a tuple with the CanceledInvestmentsTransactions field value
and a boolean to check if the value has been set.
package plaid
import (
	"encoding/json"
)
type InvestmentsDefaultUpdateWebhook struct {
	WebhookType string `json:"webhook_type"`
	WebhookCode string `json:"webhook_code"`
	ItemId string `json:"item_id"`
	Error NullableError `json:"error,omitempty"`
	NewInvestmentsTransactions float32 `json:"new_investments_transactions"`
	CanceledInvestmentsTransactions float32 `json:"canceled_investments_transactions"`
	AdditionalProperties map[string]interface{}
}
type _InvestmentsDefaultUpdateWebhook InvestmentsDefaultUpdateWebhook
func NewInvestmentsDefaultUpdateWebhook(webhookType string, webhookCode string, itemId string, newInvestmentsTransactions float32, canceledInvestmentsTransactions float32) *InvestmentsDefaultUpdateWebhook {
	this := InvestmentsDefaultUpdateWebhook{}
	this.WebhookType = webhookType
	this.WebhookCode = webhookCode
	this.ItemId = itemId
	this.NewInvestmentsTransactions = newInvestmentsTransactions
	this.CanceledInvestmentsTransactions = canceledInvestmentsTransactions
	return &this
}
func NewInvestmentsDefaultUpdateWebhookWithDefaults() *InvestmentsDefaultUpdateWebhook {
	this := InvestmentsDefaultUpdateWebhook{}
	return &this
}
func (o *InvestmentsDefaultUpdateWebhook) GetWebhookType() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.WebhookType
}
func (o *InvestmentsDefaultUpdateWebhook) GetWebhookTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.WebhookType, true
}
func (o *InvestmentsDefaultUpdateWebhook) SetWebhookType(v string) {
	o.WebhookType = v
}
func (o *InvestmentsDefaultUpdateWebhook) GetWebhookCode() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.WebhookCode
}
func (o *InvestmentsDefaultUpdateWebhook) GetWebhookCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.WebhookCode, true
}
func (o *InvestmentsDefaultUpdateWebhook) SetWebhookCode(v string) {
	o.WebhookCode = v
}
func (o *InvestmentsDefaultUpdateWebhook) GetItemId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.ItemId
}
func (o *InvestmentsDefaultUpdateWebhook) GetItemIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.ItemId, true
}
func (o *InvestmentsDefaultUpdateWebhook) SetItemId(v string) {
	o.ItemId = v
}
func (o *InvestmentsDefaultUpdateWebhook) GetError() Error {
	if o == nil || o.Error.Get() == nil {
		var ret Error
		return ret
	}
	return *o.Error.Get()
}
func (o *InvestmentsDefaultUpdateWebhook) GetErrorOk() (*Error, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Error.Get(), o.Error.IsSet()
}
func (o *InvestmentsDefaultUpdateWebhook) HasError() bool {
	if o != nil && o.Error.IsSet() {
		return true
	}
	return false
}
func (o *InvestmentsDefaultUpdateWebhook) SetError(v Error) {
	o.Error.Set(&v)
}
func (o *InvestmentsDefaultUpdateWebhook) SetErrorNil() {
	o.Error.Set(nil)
}
func (o *InvestmentsDefaultUpdateWebhook) UnsetError() {
	o.Error.Unset()
}
func (o *InvestmentsDefaultUpdateWebhook) GetNewInvestmentsTransactions() float32 {
	if o == nil {
		var ret float32
		return ret
	}
	return o.NewInvestmentsTransactions
}
func (o *InvestmentsDefaultUpdateWebhook) GetNewInvestmentsTransactionsOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.NewInvestmentsTransactions, true
}
func (o *InvestmentsDefaultUpdateWebhook) SetNewInvestmentsTransactions(v float32) {
	o.NewInvestmentsTransactions = v
}
func (o *InvestmentsDefaultUpdateWebhook) GetCanceledInvestmentsTransactions() float32 {
	if o == nil {
		var ret float32
		return ret
	}
	return o.CanceledInvestmentsTransactions
}