func (o *W2Box12) GetAmount() string {
	if o == nil || o.Amount.Get() == nil {
		var ret string
		return ret
	}
	return *o.Amount.Get()
}
GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
package plaid
import (
	"encoding/json"
)
type W2Box12 struct {
	Code NullableString `json:"code,omitempty"`
	Amount NullableString `json:"amount,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _W2Box12 W2Box12
func NewW2Box12() *W2Box12 {
	this := W2Box12{}
	return &this
}
func NewW2Box12WithDefaults() *W2Box12 {
	this := W2Box12{}
	return &this
}
func (o *W2Box12) GetCode() string {
	if o == nil || o.Code.Get() == nil {
		var ret string
		return ret
	}
	return *o.Code.Get()
}
func (o *W2Box12) GetCodeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.Code.Get(), o.Code.IsSet()
}
func (o *W2Box12) HasCode() bool {
	if o != nil && o.Code.IsSet() {
		return true
	}
	return false
}
func (o *W2Box12) SetCode(v string) {
	o.Code.Set(&v)
}
func (o *W2Box12) SetCodeNil() {
	o.Code.Set(nil)
}
func (o *W2Box12) UnsetCode() {
	o.Code.Unset()
}