func (o *AssetReportTransaction) GetCategoryId() string {
	if o == nil || o.CategoryId.Get() == nil {
		var ret string
		return ret
	}
	return *o.CategoryId.Get()
}
GetCategoryId returns the CategoryId field value if set, zero value otherwise (both if not set or set to explicit null).
package plaid
import (
	"encoding/json"
)
type AssetReportTransaction 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"`
	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"`
	DateTransacted NullableString `json:"date_transacted,omitempty"`
}
func NewAssetReportTransaction(originalDescription NullableString, accountId string, amount float32, isoCurrencyCode NullableString, unofficialCurrencyCode NullableString, date string, pending bool, transactionId string) *AssetReportTransaction {
	this := AssetReportTransaction{}
	this.OriginalDescription = originalDescription
	this.AccountId = accountId
	this.Amount = amount
	this.IsoCurrencyCode = isoCurrencyCode
	this.UnofficialCurrencyCode = unofficialCurrencyCode
	this.Date = date
	this.Pending = pending
	this.TransactionId = transactionId
	return &this
}
func NewAssetReportTransactionWithDefaults() *AssetReportTransaction {
	this := AssetReportTransaction{}
	return &this
}
func (o *AssetReportTransaction) GetTransactionType() string {
	if o == nil || o.TransactionType == nil {
		var ret string
		return ret
	}
	return *o.TransactionType
}
func (o *AssetReportTransaction) GetTransactionTypeOk() (*string, bool) {
	if o == nil || o.TransactionType == nil {
		return nil, false
	}
	return o.TransactionType, true
}
func (o *AssetReportTransaction) HasTransactionType() bool {
	if o != nil && o.TransactionType != nil {
		return true
	}
	return false
}
func (o *AssetReportTransaction) SetTransactionType(v string) {
	o.TransactionType = &v
}
func (o *AssetReportTransaction) GetPendingTransactionId() string {
	if o == nil || o.PendingTransactionId.Get() == nil {
		var ret string
		return ret
	}
	return *o.PendingTransactionId.Get()
}
func (o *AssetReportTransaction) GetPendingTransactionIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.PendingTransactionId.Get(), o.PendingTransactionId.IsSet()
}
func (o *AssetReportTransaction) HasPendingTransactionId() bool {
	if o != nil && o.PendingTransactionId.IsSet() {
		return true
	}
	return false
}
func (o *AssetReportTransaction) SetPendingTransactionId(v string) {
	o.PendingTransactionId.Set(&v)
}
func (o *AssetReportTransaction) SetPendingTransactionIdNil() {
	o.PendingTransactionId.Set(nil)
}
func (o *AssetReportTransaction) UnsetPendingTransactionId() {
	o.PendingTransactionId.Unset()
}