func (o *PaymentInitiationPaymentCreateRequest) HasSecret() bool {
	if o != nil && o.Secret != nil {
		return true
	}
	return false
}
HasSecret returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
)
type PaymentInitiationPaymentCreateRequest struct {
	ClientId *string `json:"client_id,omitempty"`
	Secret *string `json:"secret,omitempty"`
	RecipientId string `json:"recipient_id"`
	Reference string `json:"reference"`
	Amount PaymentAmount `json:"amount"`
	Schedule *ExternalPaymentScheduleRequest `json:"schedule,omitempty"`
	Options NullableExternalPaymentOptions `json:"options,omitempty"`
}
func NewPaymentInitiationPaymentCreateRequest(recipientId string, reference string, amount PaymentAmount) *PaymentInitiationPaymentCreateRequest {
	this := PaymentInitiationPaymentCreateRequest{}
	this.RecipientId = recipientId
	this.Reference = reference
	this.Amount = amount
	return &this
}
func NewPaymentInitiationPaymentCreateRequestWithDefaults() *PaymentInitiationPaymentCreateRequest {
	this := PaymentInitiationPaymentCreateRequest{}
	return &this
}
func (o *PaymentInitiationPaymentCreateRequest) GetClientId() string {
	if o == nil || o.ClientId == nil {
		var ret string
		return ret
	}
	return *o.ClientId
}
func (o *PaymentInitiationPaymentCreateRequest) GetClientIdOk() (*string, bool) {
	if o == nil || o.ClientId == nil {
		return nil, false
	}
	return o.ClientId, true
}
func (o *PaymentInitiationPaymentCreateRequest) HasClientId() bool {
	if o != nil && o.ClientId != nil {
		return true
	}
	return false
}
func (o *PaymentInitiationPaymentCreateRequest) SetClientId(v string) {
	o.ClientId = &v
}
func (o *PaymentInitiationPaymentCreateRequest) GetSecret() string {
	if o == nil || o.Secret == nil {
		var ret string
		return ret
	}
	return *o.Secret
}
func (o *PaymentInitiationPaymentCreateRequest) GetSecretOk() (*string, bool) {
	if o == nil || o.Secret == nil {
		return nil, false
	}
	return o.Secret, true
}