func (o *Paystub) SetDocId(v string) {
	o.DocId = v
}
SetDocId sets field value
package plaid
import (
	"encoding/json"
)
type Paystub struct {
	Deductions Deductions `json:"deductions"`
	DocId string `json:"doc_id"`
	Earnings Earnings `json:"earnings"`
	Employee Employee `json:"employee"`
	Employer PaystubEmployer `json:"employer"`
	EmploymentDetails *EmploymentDetails `json:"employment_details,omitempty"`
	NetPay NetPay `json:"net_pay"`
	PayPeriodDetails PayPeriodDetails `json:"pay_period_details"`
	PaystubDetails *PaystubDetails `json:"paystub_details,omitempty"`
	IncomeBreakdown []IncomeBreakdown `json:"income_breakdown"`
	YtdEarnings PaystubYTDDetails `json:"ytd_earnings"`
	Verification NullablePaystubFraudVerification `json:"verification"`
	AdditionalProperties map[string]interface{}
}
type _Paystub Paystub
func NewPaystub(deductions Deductions, docId string, earnings Earnings, employee Employee, employer PaystubEmployer, netPay NetPay, payPeriodDetails PayPeriodDetails, incomeBreakdown []IncomeBreakdown, ytdEarnings PaystubYTDDetails, verification NullablePaystubFraudVerification) *Paystub {
	this := Paystub{}
	this.Deductions = deductions
	this.DocId = docId
	this.Earnings = earnings
	this.Employee = employee
	this.Employer = employer
	this.NetPay = netPay
	this.PayPeriodDetails = payPeriodDetails
	this.IncomeBreakdown = incomeBreakdown
	this.YtdEarnings = ytdEarnings
	this.Verification = verification
	return &this
}
func NewPaystubWithDefaults() *Paystub {
	this := Paystub{}
	return &this
}
func (o *Paystub) GetDeductions() Deductions {
	if o == nil {
		var ret Deductions
		return ret
	}
	return o.Deductions
}
func (o *Paystub) GetDeductionsOk() (*Deductions, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.Deductions, true
}
func (o *Paystub) SetDeductions(v Deductions) {
	o.Deductions = v
}
func (o *Paystub) GetDocId() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.DocId
}
func (o *Paystub) GetDocIdOk() (*string, bool) {
	if o == nil  {
		return nil, false
	}
	return &o.DocId, true
}