func (o *AssetReportTransaction) GetTransactionType() string {
	if o == nil || o.TransactionType == nil {
		var ret string
		return ret
	}
	return *o.TransactionType
}
GetTransactionType returns the TransactionType field value if set, zero value otherwise.
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
}