func (o *Transaction) SetTransactionId(v string) {
	o.TransactionId = v
}
SetTransactionId sets field value
package plaid
import (
	"encoding/json"
	"time"
)
type Transaction struct {
	TransactionType *string `json:"transaction_type,omitempty"`
	PendingTransactionId NullableString `json:"pending_transaction_id"`
	CategoryId NullableString `json:"category_id"`
	Category []string `json:"category"`
	Location Location `json:"location"`
	PaymentMeta PaymentMeta `json:"payment_meta"`
	AccountOwner NullableString `json:"account_owner"`
	Name string `json:"name"`
	OriginalDescription NullableString `json:"original_description,omitempty"`
	AccountId string `json:"account_id"`
	Amount float32 `json:"amount"`
	IsoCurrencyCode NullableString `json:"iso_currency_code"`
	UnofficialCurrencyCode NullableString `json:"unofficial_currency_code"`
	Date string `json:"date"`
	Pending bool `json:"pending"`
	TransactionId string `json:"transaction_id"`
	PaymentChannel string `json:"payment_channel"`
	MerchantName NullableString `json:"merchant_name"`
	AuthorizedDate NullableString `json:"authorized_date"`
	AuthorizedDatetime NullableTime `json:"authorized_datetime"`
	Datetime NullableTime `json:"datetime"`
	CheckNumber NullableString `json:"check_number"`
	TransactionCode NullableTransactionCode `json:"transaction_code"`
	PersonalFinanceCategory NullablePersonalFinanceCategory `json:"personal_finance_category,omitempty"`
}
func NewTransaction(pendingTransactionId NullableString, categoryId NullableString, category []string, location Location, paymentMeta PaymentMeta, accountOwner NullableString, name string, accountId string, amount float32, isoCurrencyCode NullableString, unofficialCurrencyCode NullableString, date string, pending bool, transactionId string, paymentChannel string, merchantName NullableString, authorizedDate NullableString, authorizedDatetime NullableTime, datetime NullableTime, checkNumber NullableString, transactionCode NullableTransactionCode) *Transaction {
	this := Transaction{}
	this.PendingTransactionId = pendingTransactionId
	this.CategoryId = categoryId
	this.Category = category
	this.Location = location
	this.PaymentMeta = paymentMeta
	this.AccountOwner = accountOwner
	this.Name = name
	this.AccountId = accountId
	this.Amount = amount
	this.IsoCurrencyCode = isoCurrencyCode
	this.UnofficialCurrencyCode = unofficialCurrencyCode
	this.Date = date
	this.Pending = pending
	this.TransactionId = transactionId
	this.PaymentChannel = paymentChannel
	this.MerchantName = merchantName
	this.AuthorizedDate = authorizedDate
	this.AuthorizedDatetime = authorizedDatetime
	this.Datetime = datetime
	this.CheckNumber = checkNumber
	this.TransactionCode = transactionCode
	return &this
}
func NewTransactionWithDefaults() *Transaction {
	this := Transaction{}
	return &this
}
func (o *Transaction) GetTransactionType() string {
	if o == nil || o.TransactionType == nil {
		var ret string
		return ret
	}
	return *o.TransactionType
}
func (o *Transaction) GetTransactionTypeOk() (*string, bool) {
	if o == nil || o.TransactionType == nil {
		return nil, false
	}
	return o.TransactionType, true
}
func (o *Transaction) HasTransactionType() bool {
	if o != nil && o.TransactionType != nil {
		return true
	}
	return false
}
func (o *Transaction) SetTransactionType(v string) {
	o.TransactionType = &v
}
func (o *Transaction) GetPendingTransactionId() string {
	if o == nil || o.PendingTransactionId.Get() == nil {
		var ret string
		return ret
	}
	return *o.PendingTransactionId.Get()
}
func (o *Transaction) GetPendingTransactionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.PendingTransactionId.Get(), o.PendingTransactionId.IsSet()
}
func (o *Transaction) SetPendingTransactionId(v string) {
	o.PendingTransactionId.Set(&v)
}
func (o *Transaction) GetCategoryId() string {
	if o == nil || o.CategoryId.Get() == nil {
		var ret string
		return ret
	}
	return *o.CategoryId.Get()
}
func (o *Transaction) GetCategoryIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CategoryId.Get(), o.CategoryId.IsSet()
}
func (o *Transaction) SetCategoryId(v string) {
	o.CategoryId.Set(&v)
}
func (o *Transaction) GetCategory() []string {
	if o == nil {
		var ret []string
		return ret
	}
	return o.Category
}
func (o *Transaction) GetCategoryOk() (*[]string, bool) {
	if o == nil || o.Category == nil {
		return nil, false
	}
	return &o.Category, true
}
func (o *Transaction) SetCategory(v []string) {
	o.Category = v
}
func (o *Transaction) GetLocation() Location {
	if o == nil {
		var ret Location
		return ret
	}
	return o.Location
}
func (o *Transaction) GetLocationOk() (*Location, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Location, true
}
func (o *Transaction) SetLocation(v Location) {
	o.Location = v
}
func (o *Transaction) GetPaymentMeta() PaymentMeta {
	if o == nil {
		var ret PaymentMeta
		return ret
	}
	return o.PaymentMeta
}
func (o *Transaction) GetPaymentMetaOk() (*PaymentMeta, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.PaymentMeta, true
}
func (o *Transaction) SetPaymentMeta(v PaymentMeta) {
	o.PaymentMeta = v
}
func (o *Transaction) GetAccountOwner() string {
	if o == nil || o.AccountOwner.Get() == nil {
		var ret string
		return ret
	}
	return *o.AccountOwner.Get()
}
func (o *Transaction) GetAccountOwnerOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.AccountOwner.Get(), o.AccountOwner.IsSet()
}
func (o *Transaction) SetAccountOwner(v string) {
	o.AccountOwner.Set(&v)
}
func (o *Transaction) GetName() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.Name
}
func (o *Transaction) GetNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Name, true
}
func (o *Transaction) SetName(v string) {
	o.Name = v
}
func (o *Transaction) GetOriginalDescription() string {
	if o == nil || o.OriginalDescription.Get() == nil {
		var ret string
		return ret
	}
	return *o.OriginalDescription.Get()
}
func (o *Transaction) GetOriginalDescriptionOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.OriginalDescription.Get(), o.OriginalDescription.IsSet()
}
func (o *Transaction) HasOriginalDescription() bool {
	if o != nil && o.OriginalDescription.IsSet() {
		return true
	}
	return false
}
func (o *Transaction) SetOriginalDescription(v string) {
	o.OriginalDescription.Set(&v)
}
func (o *Transaction) SetOriginalDescriptionNil() {
	o.OriginalDescription.Set(nil)
}
func (o *Transaction) UnsetOriginalDescription() {
	o.OriginalDescription.Unset()
}
func (o *Transaction) GetAccountId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.AccountId
}
func (o *Transaction) GetAccountIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.AccountId, true
}
func (o *Transaction) SetAccountId(v string) {
	o.AccountId = v
}
func (o *Transaction) GetAmount() float32 {
	if o == nil {
		var ret float32
		return ret
	}
	return o.Amount
}
func (o *Transaction) GetAmountOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Amount, true
}
func (o *Transaction) SetAmount(v float32) {
	o.Amount = v
}
func (o *Transaction) GetIsoCurrencyCode() string {
	if o == nil || o.IsoCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.IsoCurrencyCode.Get()
}
func (o *Transaction) GetIsoCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.IsoCurrencyCode.Get(), o.IsoCurrencyCode.IsSet()
}
func (o *Transaction) SetIsoCurrencyCode(v string) {
	o.IsoCurrencyCode.Set(&v)
}
func (o *Transaction) GetUnofficialCurrencyCode() string {
	if o == nil || o.UnofficialCurrencyCode.Get() == nil {
		var ret string
		return ret
	}
	return *o.UnofficialCurrencyCode.Get()
}
func (o *Transaction) GetUnofficialCurrencyCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.UnofficialCurrencyCode.Get(), o.UnofficialCurrencyCode.IsSet()
}
func (o *Transaction) SetUnofficialCurrencyCode(v string) {
	o.UnofficialCurrencyCode.Set(&v)
}
func (o *Transaction) GetDate() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.Date
}
func (o *Transaction) GetDateOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Date, true
}
func (o *Transaction) SetDate(v string) {
	o.Date = v
}
func (o *Transaction) GetPending() bool {
	if o == nil {
		var ret bool
		return ret
	}
	return o.Pending
}
func (o *Transaction) GetPendingOk() (*bool, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Pending, true
}
func (o *Transaction) SetPending(v bool) {
	o.Pending = v
}
func (o *Transaction) GetTransactionId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.TransactionId
}
func (o *Transaction) GetTransactionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.TransactionId, true
}