func (o *W2) SetSocialSecurityTips(v string) {
	o.SocialSecurityTips.Set(&v)
}
SetSocialSecurityTips gets a reference to the given NullableString and assigns it to the SocialSecurityTips field.
package plaid
import (
	"encoding/json"
)
type W2 struct {
	Employer *PaystubEmployer `json:"employer,omitempty"`
	Employee *Employee `json:"employee,omitempty"`
	TaxYear NullableString `json:"tax_year,omitempty"`
	EmployerIdNumber NullableString `json:"employer_id_number,omitempty"`
	WagesTipsOtherComp NullableString `json:"wages_tips_other_comp,omitempty"`
	FederalIncomeTaxWithheld NullableString `json:"federal_income_tax_withheld,omitempty"`
	SocialSecurityWages NullableString `json:"social_security_wages,omitempty"`
	SocialSecurityTaxWithheld NullableString `json:"social_security_tax_withheld,omitempty"`
	MedicareWagesAndTips NullableString `json:"medicare_wages_and_tips,omitempty"`
	MedicareTaxWithheld NullableString `json:"medicare_tax_withheld,omitempty"`
	SocialSecurityTips NullableString `json:"social_security_tips,omitempty"`
	AllocatedTips NullableString `json:"allocated_tips,omitempty"`
	Box9 NullableString `json:"box_9,omitempty"`
	DependentCareBenefits NullableString `json:"dependent_care_benefits,omitempty"`
	NonqualifiedPlans NullableString `json:"nonqualified_plans,omitempty"`
	Box12 *[]W2Box12 `json:"box_12,omitempty"`
	StatutoryEmployee NullableString `json:"statutory_employee,omitempty"`
	RetirementPlan NullableString `json:"retirement_plan,omitempty"`
	ThirdPartySickPay NullableString `json:"third_party_sick_pay,omitempty"`
	Other NullableString `json:"other,omitempty"`
	StateAndLocalWages *[]W2StateAndLocalWages `json:"state_and_local_wages,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _W2 W2
func NewW2() *W2 {
	this := W2{}
	return &this
}
func NewW2WithDefaults() *W2 {
	this := W2{}
	return &this
}
func (o *W2) GetEmployer() PaystubEmployer {
	if o == nil || o.Employer == nil {
		var ret PaystubEmployer
		return ret
	}
	return *o.Employer
}
func (o *W2) GetEmployerOk() (*PaystubEmployer, bool) {
	if o == nil || o.Employer == nil {
		return nil, false
	}
	return o.Employer, true
}
func (o *W2) HasEmployer() bool {
	if o != nil && o.Employer != nil {
		return true
	}
	return false
}
func (o *W2) SetEmployer(v PaystubEmployer) {
	o.Employer = &v
}
func (o *W2) GetEmployee() Employee {
	if o == nil || o.Employee == nil {
		var ret Employee
		return ret
	}
	return *o.Employee
}
func (o *W2) GetEmployeeOk() (*Employee, bool) {
	if o == nil || o.Employee == nil {
		return nil, false
	}
	return o.Employee, true
}
func (o *W2) HasEmployee() bool {
	if o != nil && o.Employee != nil {
		return true
	}
	return false
}
func (o *W2) SetEmployee(v Employee) {
	o.Employee = &v
}
func (o *W2) GetTaxYear() string {
	if o == nil || o.TaxYear.Get() == nil {
		var ret string
		return ret
	}
	return *o.TaxYear.Get()
}
func (o *W2) GetTaxYearOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.TaxYear.Get(), o.TaxYear.IsSet()
}
func (o *W2) HasTaxYear() bool {
	if o != nil && o.TaxYear.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetTaxYear(v string) {
	o.TaxYear.Set(&v)
}
func (o *W2) SetTaxYearNil() {
	o.TaxYear.Set(nil)
}
func (o *W2) UnsetTaxYear() {
	o.TaxYear.Unset()
}
func (o *W2) GetEmployerIdNumber() string {
	if o == nil || o.EmployerIdNumber.Get() == nil {
		var ret string
		return ret
	}
	return *o.EmployerIdNumber.Get()
}
func (o *W2) GetEmployerIdNumberOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.EmployerIdNumber.Get(), o.EmployerIdNumber.IsSet()
}
func (o *W2) HasEmployerIdNumber() bool {
	if o != nil && o.EmployerIdNumber.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetEmployerIdNumber(v string) {
	o.EmployerIdNumber.Set(&v)
}
func (o *W2) SetEmployerIdNumberNil() {
	o.EmployerIdNumber.Set(nil)
}
func (o *W2) UnsetEmployerIdNumber() {
	o.EmployerIdNumber.Unset()
}
func (o *W2) GetWagesTipsOtherComp() string {
	if o == nil || o.WagesTipsOtherComp.Get() == nil {
		var ret string
		return ret
	}
	return *o.WagesTipsOtherComp.Get()
}
func (o *W2) GetWagesTipsOtherCompOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.WagesTipsOtherComp.Get(), o.WagesTipsOtherComp.IsSet()
}
func (o *W2) HasWagesTipsOtherComp() bool {
	if o != nil && o.WagesTipsOtherComp.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetWagesTipsOtherComp(v string) {
	o.WagesTipsOtherComp.Set(&v)
}
func (o *W2) SetWagesTipsOtherCompNil() {
	o.WagesTipsOtherComp.Set(nil)
}
func (o *W2) UnsetWagesTipsOtherComp() {
	o.WagesTipsOtherComp.Unset()
}
func (o *W2) GetFederalIncomeTaxWithheld() string {
	if o == nil || o.FederalIncomeTaxWithheld.Get() == nil {
		var ret string
		return ret
	}
	return *o.FederalIncomeTaxWithheld.Get()
}
func (o *W2) GetFederalIncomeTaxWithheldOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.FederalIncomeTaxWithheld.Get(), o.FederalIncomeTaxWithheld.IsSet()
}
func (o *W2) HasFederalIncomeTaxWithheld() bool {
	if o != nil && o.FederalIncomeTaxWithheld.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetFederalIncomeTaxWithheld(v string) {
	o.FederalIncomeTaxWithheld.Set(&v)
}
func (o *W2) SetFederalIncomeTaxWithheldNil() {
	o.FederalIncomeTaxWithheld.Set(nil)
}
func (o *W2) UnsetFederalIncomeTaxWithheld() {
	o.FederalIncomeTaxWithheld.Unset()
}
func (o *W2) GetSocialSecurityWages() string {
	if o == nil || o.SocialSecurityWages.Get() == nil {
		var ret string
		return ret
	}
	return *o.SocialSecurityWages.Get()
}
func (o *W2) GetSocialSecurityWagesOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.SocialSecurityWages.Get(), o.SocialSecurityWages.IsSet()
}
func (o *W2) HasSocialSecurityWages() bool {
	if o != nil && o.SocialSecurityWages.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetSocialSecurityWages(v string) {
	o.SocialSecurityWages.Set(&v)
}
func (o *W2) SetSocialSecurityWagesNil() {
	o.SocialSecurityWages.Set(nil)
}
func (o *W2) UnsetSocialSecurityWages() {
	o.SocialSecurityWages.Unset()
}
func (o *W2) GetSocialSecurityTaxWithheld() string {
	if o == nil || o.SocialSecurityTaxWithheld.Get() == nil {
		var ret string
		return ret
	}
	return *o.SocialSecurityTaxWithheld.Get()
}
func (o *W2) GetSocialSecurityTaxWithheldOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.SocialSecurityTaxWithheld.Get(), o.SocialSecurityTaxWithheld.IsSet()
}
func (o *W2) HasSocialSecurityTaxWithheld() bool {
	if o != nil && o.SocialSecurityTaxWithheld.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetSocialSecurityTaxWithheld(v string) {
	o.SocialSecurityTaxWithheld.Set(&v)
}
func (o *W2) SetSocialSecurityTaxWithheldNil() {
	o.SocialSecurityTaxWithheld.Set(nil)
}
func (o *W2) UnsetSocialSecurityTaxWithheld() {
	o.SocialSecurityTaxWithheld.Unset()
}
func (o *W2) GetMedicareWagesAndTips() string {
	if o == nil || o.MedicareWagesAndTips.Get() == nil {
		var ret string
		return ret
	}
	return *o.MedicareWagesAndTips.Get()
}
func (o *W2) GetMedicareWagesAndTipsOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.MedicareWagesAndTips.Get(), o.MedicareWagesAndTips.IsSet()
}
func (o *W2) HasMedicareWagesAndTips() bool {
	if o != nil && o.MedicareWagesAndTips.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetMedicareWagesAndTips(v string) {
	o.MedicareWagesAndTips.Set(&v)
}
func (o *W2) SetMedicareWagesAndTipsNil() {
	o.MedicareWagesAndTips.Set(nil)
}
func (o *W2) UnsetMedicareWagesAndTips() {
	o.MedicareWagesAndTips.Unset()
}
func (o *W2) GetMedicareTaxWithheld() string {
	if o == nil || o.MedicareTaxWithheld.Get() == nil {
		var ret string
		return ret
	}
	return *o.MedicareTaxWithheld.Get()
}
func (o *W2) GetMedicareTaxWithheldOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.MedicareTaxWithheld.Get(), o.MedicareTaxWithheld.IsSet()
}
func (o *W2) HasMedicareTaxWithheld() bool {
	if o != nil && o.MedicareTaxWithheld.IsSet() {
		return true
	}
	return false
}
func (o *W2) SetMedicareTaxWithheld(v string) {
	o.MedicareTaxWithheld.Set(&v)
}
func (o *W2) SetMedicareTaxWithheldNil() {
	o.MedicareTaxWithheld.Set(nil)
}
func (o *W2) UnsetMedicareTaxWithheld() {
	o.MedicareTaxWithheld.Unset()
}
func (o *W2) GetSocialSecurityTips() string {
	if o == nil || o.SocialSecurityTips.Get() == nil {
		var ret string
		return ret
	}
	return *o.SocialSecurityTips.Get()
}
func (o *W2) GetSocialSecurityTipsOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.SocialSecurityTips.Get(), o.SocialSecurityTips.IsSet()
}
func (o *W2) HasSocialSecurityTips() bool {
	if o != nil && o.SocialSecurityTips.IsSet() {
		return true
	}
	return false
}