func (o *TaxpayerID) HasIdType() bool {
	if o != nil && o.IdType.IsSet() {
		return true
	}
	return false
}
HasIdType returns a boolean if a field has been set.
package plaid
import (
	"encoding/json"
)
type TaxpayerID struct {
	IdType NullableString `json:"id_type,omitempty"`
	IdMask NullableString `json:"id_mask,omitempty"`
	Last4Digits NullableString `json:"last_4_digits,omitempty"`
	AdditionalProperties map[string]interface{}
}
type _TaxpayerID TaxpayerID
func NewTaxpayerID() *TaxpayerID {
	this := TaxpayerID{}
	return &this
}
func NewTaxpayerIDWithDefaults() *TaxpayerID {
	this := TaxpayerID{}
	return &this
}
func (o *TaxpayerID) GetIdType() string {
	if o == nil || o.IdType.Get() == nil {
		var ret string
		return ret
	}
	return *o.IdType.Get()
}
func (o *TaxpayerID) GetIdTypeOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return o.IdType.Get(), o.IdType.IsSet()
}