func (o *TransactionAllOf) GetPaymentChannel() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.PaymentChannel
}
GetPaymentChannel returns the PaymentChannel field value
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
}