func (o *TransactionBase) UnsetCategoryId() {
	o.CategoryId.Unset()
}
UnsetCategoryId ensures that no value is present for CategoryId, not even an explicit nil
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)
}