func (o *TransactionBase) GetPaymentMetaOk() (*PaymentMeta, bool) {
	if o == nil || o.PaymentMeta == nil {
		return nil, false
	}
	return o.PaymentMeta, true
}
GetPaymentMetaOk returns a tuple with the PaymentMeta field value if set, nil otherwise
and a boolean to check if the value has been set.
package plaid
import (
	"encoding/json"
)
type TransactionBase struct {
	TransactionType *string `json:"transaction_type,omitempty"`
	PendingTransactionId NullableString `json:"pending_transaction_id,omitempty"`
	CategoryId NullableString `json:"category_id,omitempty"`
	Category []string `json:"category,omitempty"`
	Location *Location `json:"location,omitempty"`
	PaymentMeta *PaymentMeta `json:"payment_meta,omitempty"`
	AccountOwner NullableString `json:"account_owner,omitempty"`
	Name *string `json:"name,omitempty"`
	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"`
	AdditionalProperties map[string]interface{}
}
type _TransactionBase TransactionBase
func NewTransactionBase(accountId string, amount float32, isoCurrencyCode NullableString, unofficialCurrencyCode NullableString, date string, pending bool, transactionId string) *TransactionBase {
	this := TransactionBase{}
	this.AccountId = accountId
	this.Amount = amount
	this.IsoCurrencyCode = isoCurrencyCode
	this.UnofficialCurrencyCode = unofficialCurrencyCode
	this.Date = date
	this.Pending = pending
	this.TransactionId = transactionId
	return &this
}
func NewTransactionBaseWithDefaults() *TransactionBase {
	this := TransactionBase{}
	return &this
}
func (o *TransactionBase) GetTransactionType() string {
	if o == nil || o.TransactionType == nil {
		var ret string
		return ret
	}
	return *o.TransactionType
}
func (o *TransactionBase) GetTransactionTypeOk() (*string, bool) {
	if o == nil || o.TransactionType == nil {
		return nil, false
	}
	return o.TransactionType, true
}
func (o *TransactionBase) HasTransactionType() bool {
	if o != nil && o.TransactionType != nil {
		return true
	}
	return false
}
func (o *TransactionBase) SetTransactionType(v string) {
	o.TransactionType = &v
}
func (o *TransactionBase) GetPendingTransactionId() string {
	if o == nil || o.PendingTransactionId.Get() == nil {
		var ret string
		return ret
	}
	return *o.PendingTransactionId.Get()
}
func (o *TransactionBase) GetPendingTransactionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.PendingTransactionId.Get(), o.PendingTransactionId.IsSet()
}
func (o *TransactionBase) HasPendingTransactionId() bool {
	if o != nil && o.PendingTransactionId.IsSet() {
		return true
	}
	return false
}
func (o *TransactionBase) SetPendingTransactionId(v string) {
	o.PendingTransactionId.Set(&v)
}
func (o *TransactionBase) SetPendingTransactionIdNil() {
	o.PendingTransactionId.Set(nil)
}
func (o *TransactionBase) UnsetPendingTransactionId() {
	o.PendingTransactionId.Unset()
}
func (o *TransactionBase) GetCategoryId() string {
	if o == nil || o.CategoryId.Get() == nil {
		var ret string
		return ret
	}
	return *o.CategoryId.Get()
}
func (o *TransactionBase) GetCategoryIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CategoryId.Get(), o.CategoryId.IsSet()
}
func (o *TransactionBase) HasCategoryId() bool {
	if o != nil && o.CategoryId.IsSet() {
		return true
	}
	return false
}
func (o *TransactionBase) SetCategoryId(v string) {
	o.CategoryId.Set(&v)
}
func (o *TransactionBase) SetCategoryIdNil() {
	o.CategoryId.Set(nil)
}
func (o *TransactionBase) UnsetCategoryId() {
	o.CategoryId.Unset()
}
func (o *TransactionBase) GetCategory() []string {
	if o == nil  {
		var ret []string
		return ret
	}
	return o.Category
}
func (o *TransactionBase) GetCategoryOk() (*[]string, bool) {
	if o == nil || o.Category == nil {
		return nil, false
	}
	return &o.Category, true
}
func (o *TransactionBase) HasCategory() bool {
	if o != nil && o.Category != nil {
		return true
	}
	return false
}
func (o *TransactionBase) SetCategory(v []string) {
	o.Category = v
}
func (o *TransactionBase) GetLocation() Location {
	if o == nil || o.Location == nil {
		var ret Location
		return ret
	}
	return *o.Location
}
func (o *TransactionBase) GetLocationOk() (*Location, bool) {
	if o == nil || o.Location == nil {
		return nil, false
	}
	return o.Location, true
}
func (o *TransactionBase) HasLocation() bool {
	if o != nil && o.Location != nil {
		return true
	}
	return false
}
func (o *TransactionBase) SetLocation(v Location) {
	o.Location = &v
}
func (o *TransactionBase) GetPaymentMeta() PaymentMeta {
	if o == nil || o.PaymentMeta == nil {
		var ret PaymentMeta
		return ret
	}
	return *o.PaymentMeta
}