func (o *PaymentStatusUpdateWebhook) GetNewPaymentStatus() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.NewPaymentStatus
}
GetNewPaymentStatus returns the NewPaymentStatus field value
package plaid
import (
	"encoding/json"
	"time"
)
type PaymentStatusUpdateWebhook struct {
	WebhookType string `json:"webhook_type"`
	WebhookCode string `json:"webhook_code"`
	PaymentId string `json:"payment_id"`
	NewPaymentStatus string `json:"new_payment_status"`
	OldPaymentStatus string `json:"old_payment_status"`
	OriginalReference NullableString `json:"original_reference"`
	AdjustedReference NullableString `json:"adjusted_reference,omitempty"`
	OriginalStartDate NullableString `json:"original_start_date"`
	AdjustedStartDate NullableString `json:"adjusted_start_date"`
	Timestamp time.Time `json:"timestamp"`
	Error NullableError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _PaymentStatusUpdateWebhook PaymentStatusUpdateWebhook
func NewPaymentStatusUpdateWebhook(webhookType string, webhookCode string, paymentId string, newPaymentStatus string, oldPaymentStatus string, originalReference NullableString, originalStartDate NullableString, adjustedStartDate NullableString, timestamp time.Time) *PaymentStatusUpdateWebhook {
	this := PaymentStatusUpdateWebhook{}
	this.WebhookType = webhookType
	this.WebhookCode = webhookCode
	this.PaymentId = paymentId
	this.NewPaymentStatus = newPaymentStatus
	this.OldPaymentStatus = oldPaymentStatus
	this.OriginalReference = originalReference
	this.OriginalStartDate = originalStartDate
	this.AdjustedStartDate = adjustedStartDate
	this.Timestamp = timestamp
	return &this
}
func NewPaymentStatusUpdateWebhookWithDefaults() *PaymentStatusUpdateWebhook {
	this := PaymentStatusUpdateWebhook{}
	return &this
}
func (o *PaymentStatusUpdateWebhook) GetWebhookType() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.WebhookType
}
func (o *PaymentStatusUpdateWebhook) GetWebhookTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.WebhookType, true
}
func (o *PaymentStatusUpdateWebhook) SetWebhookType(v string) {
	o.WebhookType = v
}
func (o *PaymentStatusUpdateWebhook) GetWebhookCode() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.WebhookCode
}
func (o *PaymentStatusUpdateWebhook) GetWebhookCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.WebhookCode, true
}
func (o *PaymentStatusUpdateWebhook) SetWebhookCode(v string) {
	o.WebhookCode = v
}
func (o *PaymentStatusUpdateWebhook) GetPaymentId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.PaymentId
}
func (o *PaymentStatusUpdateWebhook) GetPaymentIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.PaymentId, true
}
func (o *PaymentStatusUpdateWebhook) SetPaymentId(v string) {
	o.PaymentId = v
}