func (o *Pay) SetAmountNil() {
	o.Amount.Set(nil)
}
SetAmountNil sets the value for Amount to be an explicit nil
package plaid
import (
	"encoding/json"
)
type Pay struct {
	Amount NullableFloat32 `json:"amount,omitempty"`
	Currency NullableString `json:"currency,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _Pay Pay
func NewPay() *Pay {
	this := Pay{}
	return &this
}
func NewPayWithDefaults() *Pay {
	this := Pay{}
	return &this
}
func (o *Pay) GetAmount() float32 {
	if o == nil || o.Amount.Get() == nil {
		var ret float32
		return ret
	}
	return *o.Amount.Get()
}
func (o *Pay) GetAmountOk() (*float32, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Amount.Get(), o.Amount.IsSet()
}
func (o *Pay) HasAmount() bool {
	if o != nil && o.Amount.IsSet() {
		return true
	}
	return false
}
func (o *Pay) SetAmount(v float32) {
	o.Amount.Set(&v)
}