public class

BonusPaymentDataType

extends Object
implements Serializable
java.lang.Object
   ↳ com.workday.compensation.BonusPaymentDataType

Class Overview

Data for Employee's one-time ad-hoc bonus payment information

Java class for Bonus_Payment_DataType complex type.

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

 <complexType name="Bonus_Payment_DataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Bonus_Plan_Reference" type="{urn:com.workday/bsvc}Bonus_PlanObjectType"/>
         <choice>
           <element name="Percent" minOccurs="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                 <totalDigits value="18"/>
                 <fractionDigits value="6"/>
               </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>
         </choice>
         <element name="Currency_Reference" type="{urn:com.workday/bsvc}CurrencyObjectType" minOccurs="0"/>
         <element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected BigDecimal amount
protected BonusPlanObjectType bonusPlanReference
protected String comment
protected CurrencyObjectType currencyReference
protected BigDecimal percent
Public Constructors
BonusPaymentDataType()
Public Methods
BigDecimal getAmount()
Gets the value of the amount property.
BonusPlanObjectType getBonusPlanReference()
Gets the value of the bonusPlanReference property.
String getComment()
Gets the value of the comment property.
CurrencyObjectType getCurrencyReference()
Gets the value of the currencyReference property.
BigDecimal getPercent()
Gets the value of the percent property.
void setAmount(BigDecimal value)
Sets the value of the amount property.
void setBonusPlanReference(BonusPlanObjectType value)
Sets the value of the bonusPlanReference property.
void setComment(String value)
Sets the value of the comment property.
void setCurrencyReference(CurrencyObjectType value)
Sets the value of the currencyReference property.
void setPercent(BigDecimal value)
Sets the value of the percent property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected BigDecimal amount

protected BonusPlanObjectType bonusPlanReference

protected String comment

protected CurrencyObjectType currencyReference

protected BigDecimal percent

Public Constructors

public BonusPaymentDataType ()

Public Methods

public BigDecimal getAmount ()

Gets the value of the amount property.

Returns
  • possible object is BigDecimal

public BonusPlanObjectType getBonusPlanReference ()

Gets the value of the bonusPlanReference property.

Returns

public String getComment ()

Gets the value of the comment property.

Returns
  • possible object is String

public CurrencyObjectType getCurrencyReference ()

Gets the value of the currencyReference property.

Returns

public BigDecimal getPercent ()

Gets the value of the percent property.

Returns
  • possible object is BigDecimal

public void setAmount (BigDecimal value)

Sets the value of the amount property.

Parameters
value Allowed object is BigDecimal

public void setBonusPlanReference (BonusPlanObjectType value)

Sets the value of the bonusPlanReference property.

Parameters
value Allowed object is BonusPlanObjectType

public void setComment (String value)

Sets the value of the comment property.

Parameters
value Allowed object is String

public void setCurrencyReference (CurrencyObjectType value)

Sets the value of the currencyReference property.

Parameters
value Allowed object is CurrencyObjectType

public void setPercent (BigDecimal value)

Sets the value of the percent property.

Parameters
value Allowed object is BigDecimal