public class

PutPayrollUSAStateAndLocalTaxElectionRequestType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.payroll.PutPayrollUSAStateAndLocalTaxElectionRequestType

Class Overview

State and Local Tax Elections for USA Payroll State Authorities

Java class for Put_Payroll_USA_State_and_Local_Tax_Election_RequestType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Put_Payroll_USA_State_and_Local_Tax_Election_RequestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Company_Reference" type="{urn:com.workday/bsvc}CompanyObjectType"/>
         <element name="Worker_Reference" type="{urn:com.workday/bsvc}WorkerObjectType"/>
         <element name="Effective_Date" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="Payroll_USA_State_and_Local_Tax_Election_Data" type="{urn:com.workday/bsvc}State_Tax_Election_DataType" maxOccurs="unbounded"/>
       </sequence>
       <attribute ref="{urn:com.workday/bsvc}version"/>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected CompanyObjectType companyReference
protected XMLGregorianCalendar effectiveDate
protected List<StateTaxElectionDataType> payrollUSAStateAndLocalTaxElectionData
protected String version
protected WorkerObjectType workerReference
Public Constructors
PutPayrollUSAStateAndLocalTaxElectionRequestType()
Public Methods
CompanyObjectType getCompanyReference()
Gets the value of the companyReference property.
XMLGregorianCalendar getEffectiveDate()
Gets the value of the effectiveDate property.
List<StateTaxElectionDataType> getPayrollUSAStateAndLocalTaxElectionData()
Gets the value of the payrollUSAStateAndLocalTaxElectionData property.
String getVersion()
Gets the value of the version property.
WorkerObjectType getWorkerReference()
Gets the value of the workerReference property.
void setCompanyReference(CompanyObjectType value)
Sets the value of the companyReference property.
void setEffectiveDate(XMLGregorianCalendar value)
Sets the value of the effectiveDate property.
void setPayrollUSAStateAndLocalTaxElectionData(List<StateTaxElectionDataType> payrollUSAStateAndLocalTaxElectionData)
Sets the value of the payrollUSAStateAndLocalTaxElectionData property.
void setVersion(String value)
Sets the value of the version property.
void setWorkerReference(WorkerObjectType value)
Sets the value of the workerReference property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected CompanyObjectType companyReference

protected XMLGregorianCalendar effectiveDate

protected List<StateTaxElectionDataType> payrollUSAStateAndLocalTaxElectionData

protected String version

protected WorkerObjectType workerReference

Public Constructors

public PutPayrollUSAStateAndLocalTaxElectionRequestType ()

Public Methods

public CompanyObjectType getCompanyReference ()

Gets the value of the companyReference property.

Returns

public XMLGregorianCalendar getEffectiveDate ()

Gets the value of the effectiveDate property.

Returns
  • possible object is XMLGregorianCalendar

public List<StateTaxElectionDataType> getPayrollUSAStateAndLocalTaxElectionData ()

Gets the value of the payrollUSAStateAndLocalTaxElectionData property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the payrollUSAStateAndLocalTaxElectionData property.

For example, to add a new item, do as follows:

    getPayrollUSAStateAndLocalTaxElectionData().add(newItem);
 

Objects of the following type(s) are allowed in the list StateTaxElectionDataType

public String getVersion ()

Gets the value of the version property.

Returns
  • possible object is String

public WorkerObjectType getWorkerReference ()

Gets the value of the workerReference property.

Returns

public void setCompanyReference (CompanyObjectType value)

Sets the value of the companyReference property.

Parameters
value Allowed object is CompanyObjectType

public void setEffectiveDate (XMLGregorianCalendar value)

Sets the value of the effectiveDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setPayrollUSAStateAndLocalTaxElectionData (List<StateTaxElectionDataType> payrollUSAStateAndLocalTaxElectionData)

Sets the value of the payrollUSAStateAndLocalTaxElectionData property.

Parameters
payrollUSAStateAndLocalTaxElectionData Allowed object is StateTaxElectionDataType

public void setVersion (String value)

Sets the value of the version property.

Parameters
value Allowed object is String

public void setWorkerReference (WorkerObjectType value)

Sets the value of the workerReference property.

Parameters
value Allowed object is WorkerObjectType