func (o *InvestmentTransaction) SetAccountId(v string) {
	o.AccountId = v
}
SetAccountId sets field value
package plaid
import (
	"encoding/json"
)
type InvestmentTransaction struct {
	InvestmentTransactionId string `json:"investment_transaction_id"`
	CancelTransactionId NullableString `json:"cancel_transaction_id,omitempty"`
	AccountId string `json:"account_id"`
	SecurityId NullableString `json:"security_id"`
	Date string `json:"date"`
	Name string `json:"name"`
	Quantity float32 `json:"quantity"`
	Amount float32 `json:"amount"`
	Price float32 `json:"price"`
	Fees NullableFloat32 `json:"fees"`
	Type string `json:"type"`
	Subtype string `json:"subtype"`
	IsoCurrencyCode NullableString `json:"iso_currency_code"`
	UnofficialCurrencyCode NullableString `json:"unofficial_currency_code"`
	AdditionalProperties map[string]interface{}
}
type _InvestmentTransaction InvestmentTransaction
func NewInvestmentTransaction(investmentTransactionId string, accountId string, securityId NullableString, date string, name string, quantity float32, amount float32, price float32, fees NullableFloat32, type_ string, subtype string, isoCurrencyCode NullableString, unofficialCurrencyCode NullableString) *InvestmentTransaction {
	this := InvestmentTransaction{}
	this.InvestmentTransactionId = investmentTransactionId
	this.AccountId = accountId
	this.SecurityId = securityId
	this.Date = date
	this.Name = name
	this.Quantity = quantity
	this.Amount = amount
	this.Price = price
	this.Fees = fees
	this.Type = type_
	this.Subtype = subtype
	this.IsoCurrencyCode = isoCurrencyCode
	this.UnofficialCurrencyCode = unofficialCurrencyCode
	return &this
}
func NewInvestmentTransactionWithDefaults() *InvestmentTransaction {
	this := InvestmentTransaction{}
	return &this
}
func (o *InvestmentTransaction) GetInvestmentTransactionId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.InvestmentTransactionId
}
func (o *InvestmentTransaction) GetInvestmentTransactionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.InvestmentTransactionId, true
}
func (o *InvestmentTransaction) SetInvestmentTransactionId(v string) {
	o.InvestmentTransactionId = v
}
func (o *InvestmentTransaction) GetCancelTransactionId() string {
	if o == nil || o.CancelTransactionId.Get() == nil {
		var ret string
		return ret
	}
	return *o.CancelTransactionId.Get()
}
func (o *InvestmentTransaction) GetCancelTransactionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CancelTransactionId.Get(), o.CancelTransactionId.IsSet()
}
func (o *InvestmentTransaction) HasCancelTransactionId() bool {
	if o != nil && o.CancelTransactionId.IsSet() {
		return true
	}
	return false
}
func (o *InvestmentTransaction) SetCancelTransactionId(v string) {
	o.CancelTransactionId.Set(&v)
}
func (o *InvestmentTransaction) SetCancelTransactionIdNil() {
	o.CancelTransactionId.Set(nil)
}
func (o *InvestmentTransaction) UnsetCancelTransactionId() {
	o.CancelTransactionId.Unset()
}
func (o *InvestmentTransaction) GetAccountId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.AccountId
}
func (o *InvestmentTransaction) GetAccountIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.AccountId, true
}