func (o *Pay) HasAmount() bool {
	if o != nil && o.Amount.IsSet() {
		return true
	}
	return false
}
HasAmount returns a boolean if a field has been set.
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()
}