func (o *W2StateAndLocalWages) GetEmployerStateIdNumberOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.EmployerStateIdNumber.Get(), o.EmployerStateIdNumber.IsSet()
}
GetEmployerStateIdNumberOk returns a tuple with the EmployerStateIdNumber field value if set, nil otherwise
and a boolean to check if the value has been set.
NOTE: If the value is an explicit nil, `nil, true` will be returned
package plaid
import (
	"encoding/json"
)
type W2StateAndLocalWages struct {
	State NullableString `json:"state,omitempty"`
	EmployerStateIdNumber NullableString `json:"employer_state_id_number,omitempty"`
	StateWagesTips NullableString `json:"state_wages_tips,omitempty"`
	StateIncomeTax NullableString `json:"state_income_tax,omitempty"`
	LocalWagesTips NullableString `json:"local_wages_tips,omitempty"`
	LocalIncomeTax NullableString `json:"local_income_tax,omitempty"`
	LocalityName NullableString `json:"locality_name,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _W2StateAndLocalWages W2StateAndLocalWages
func NewW2StateAndLocalWages() *W2StateAndLocalWages {
	this := W2StateAndLocalWages{}
	return &this
}
func NewW2StateAndLocalWagesWithDefaults() *W2StateAndLocalWages {
	this := W2StateAndLocalWages{}
	return &this
}
func (o *W2StateAndLocalWages) GetState() string {
	if o == nil || o.State.Get() == nil {
		var ret string
		return ret
	}
	return *o.State.Get()
}
func (o *W2StateAndLocalWages) GetStateOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.State.Get(), o.State.IsSet()
}
func (o *W2StateAndLocalWages) HasState() bool {
	if o != nil && o.State.IsSet() {
		return true
	}
	return false
}
func (o *W2StateAndLocalWages) SetState(v string) {
	o.State.Set(&v)
}
func (o *W2StateAndLocalWages) SetStateNil() {
	o.State.Set(nil)
}
func (o *W2StateAndLocalWages) UnsetState() {
	o.State.Unset()
}
func (o *W2StateAndLocalWages) GetEmployerStateIdNumber() string {
	if o == nil || o.EmployerStateIdNumber.Get() == nil {
		var ret string
		return ret
	}
	return *o.EmployerStateIdNumber.Get()
}