public class

DeferredAndOtherCompensationDataType

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

Class Overview

This is wrapper element for W-2 Box 12 Data.

Java class for Deferred_and_Other_Compensation_DataType complex type.

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

 <complexType name="Deferred_and_Other_Compensation_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Year" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <maxLength value="4"/>
             </restriction>
           </simpleType>
         </element>
         <element name="Amount" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
               <totalDigits value="26"/>
               <fractionDigits value="6"/>
             </restriction>
           </simpleType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected BigDecimal amount
protected String code
protected String year
Public Constructors
DeferredAndOtherCompensationDataType()
Public Methods
BigDecimal getAmount()
Gets the value of the amount property.
String getCode()
Gets the value of the code property.
String getYear()
Gets the value of the year property.
void setAmount(BigDecimal value)
Sets the value of the amount property.
void setCode(String value)
Sets the value of the code property.
void setYear(String value)
Sets the value of the year property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected BigDecimal amount

protected String code

protected String year

Public Constructors

public DeferredAndOtherCompensationDataType ()

Public Methods

public BigDecimal getAmount ()

Gets the value of the amount property.

Returns
  • possible object is BigDecimal

public String getCode ()

Gets the value of the code property.

Returns
  • possible object is String

public String getYear ()

Gets the value of the year property.

Returns
  • possible object is String

public void setAmount (BigDecimal value)

Sets the value of the amount property.

Parameters
value Allowed object is BigDecimal

public void setCode (String value)

Sets the value of the code property.

Parameters
value Allowed object is String

public void setYear (String value)

Sets the value of the year property.

Parameters
value Allowed object is String