func (o *TransactionAllOf) GetTransactionCodeOk() (*TransactionCode, bool) {
	if o == nil  {
		return nil, false
	}
	return o.TransactionCode.Get(), o.TransactionCode.IsSet()
}
GetTransactionCodeOk returns a tuple with the TransactionCode field value
and a boolean to check if the value has been set.
NOTE: If the value is an explicit nil, `nil, true` will be returned
package plaid
import (
	"encoding/json"
	"time"
)
type TransactionAllOf struct {
	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 NewTransactionAllOf(paymentChannel string, merchantName NullableString, authorizedDate NullableString, authorizedDatetime NullableTime, datetime NullableTime, checkNumber NullableString, transactionCode NullableTransactionCode) *TransactionAllOf {
	this := TransactionAllOf{}
	this.PaymentChannel = paymentChannel
	this.MerchantName = merchantName
	this.AuthorizedDate = authorizedDate
	this.AuthorizedDatetime = authorizedDatetime
	this.Datetime = datetime
	this.CheckNumber = checkNumber
	this.TransactionCode = transactionCode
	return &this
}
func NewTransactionAllOfWithDefaults() *TransactionAllOf {
	this := TransactionAllOf{}
	return &this
}
func (o *TransactionAllOf) GetPaymentChannel() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.PaymentChannel
}
func (o *TransactionAllOf) GetPaymentChannelOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.PaymentChannel, true
}
func (o *TransactionAllOf) SetPaymentChannel(v string) {
	o.PaymentChannel = v
}
func (o *TransactionAllOf) GetMerchantName() string {
	if o == nil || o.MerchantName.Get() == nil {
		var ret string
		return ret
	}
	return *o.MerchantName.Get()
}
func (o *TransactionAllOf) GetMerchantNameOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.MerchantName.Get(), o.MerchantName.IsSet()
}
func (o *TransactionAllOf) SetMerchantName(v string) {
	o.MerchantName.Set(&v)
}
func (o *TransactionAllOf) GetAuthorizedDate() string {
	if o == nil || o.AuthorizedDate.Get() == nil {
		var ret string
		return ret
	}
	return *o.AuthorizedDate.Get()
}
func (o *TransactionAllOf) GetAuthorizedDateOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.AuthorizedDate.Get(), o.AuthorizedDate.IsSet()
}
func (o *TransactionAllOf) SetAuthorizedDate(v string) {
	o.AuthorizedDate.Set(&v)
}
func (o *TransactionAllOf) GetAuthorizedDatetime() time.Time {
	if o == nil || o.AuthorizedDatetime.Get() == nil {
		var ret time.Time
		return ret
	}
	return *o.AuthorizedDatetime.Get()
}
func (o *TransactionAllOf) GetAuthorizedDatetimeOk() (*time.Time, bool) {
	if o == nil  {
		return nil, false
	}
	return o.AuthorizedDatetime.Get(), o.AuthorizedDatetime.IsSet()
}
func (o *TransactionAllOf) SetAuthorizedDatetime(v time.Time) {
	o.AuthorizedDatetime.Set(&v)
}
func (o *TransactionAllOf) GetDatetime() time.Time {
	if o == nil || o.Datetime.Get() == nil {
		var ret time.Time
		return ret
	}
	return *o.Datetime.Get()
}
func (o *TransactionAllOf) GetDatetimeOk() (*time.Time, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Datetime.Get(), o.Datetime.IsSet()
}
func (o *TransactionAllOf) SetDatetime(v time.Time) {
	o.Datetime.Set(&v)
}
func (o *TransactionAllOf) GetCheckNumber() string {
	if o == nil || o.CheckNumber.Get() == nil {
		var ret string
		return ret
	}
	return *o.CheckNumber.Get()
}
func (o *TransactionAllOf) GetCheckNumberOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.CheckNumber.Get(), o.CheckNumber.IsSet()
}
func (o *TransactionAllOf) SetCheckNumber(v string) {
	o.CheckNumber.Set(&v)
}
func (o *TransactionAllOf) GetTransactionCode() TransactionCode {
	if o == nil || o.TransactionCode.Get() == nil {
		var ret TransactionCode
		return ret
	}
	return *o.TransactionCode.Get()
}