func (o *PaymentInitiationPaymentListResponse) SetPayments(v []PaymentInitiationPayment) {
	o.Payments = v
}
SetPayments sets field value
package plaid
import (
	"encoding/json"
	"time"
)
type PaymentInitiationPaymentListResponse struct {
	Payments []PaymentInitiationPayment `json:"payments"`
	NextCursor NullableTime `json:"next_cursor"`
	RequestId string `json:"request_id"`
	AdditionalProperties map[string]interface{}
}
type _PaymentInitiationPaymentListResponse PaymentInitiationPaymentListResponse
func NewPaymentInitiationPaymentListResponse(payments []PaymentInitiationPayment, nextCursor NullableTime, requestId string) *PaymentInitiationPaymentListResponse {
	this := PaymentInitiationPaymentListResponse{}
	this.Payments = payments
	this.NextCursor = nextCursor
	this.RequestId = requestId
	return &this
}
func NewPaymentInitiationPaymentListResponseWithDefaults() *PaymentInitiationPaymentListResponse {
	this := PaymentInitiationPaymentListResponse{}
	return &this
}
func (o *PaymentInitiationPaymentListResponse) GetPayments() []PaymentInitiationPayment {
	if o == nil {
		var ret []PaymentInitiationPayment
		return ret
	}
	return o.Payments
}
func (o *PaymentInitiationPaymentListResponse) GetPaymentsOk() (*[]PaymentInitiationPayment, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Payments, true
}