com.amazonaws.mturk.requester
Class BonusPayment

java.lang.Object
  extended by com.amazonaws.mturk.requester.BonusPayment
All Implemented Interfaces:
java.io.Serializable

public class BonusPayment
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
BonusPayment()
           
BonusPayment(Request request, java.lang.String workerId, Price bonusAmount, java.lang.String assignmentId, java.lang.String reason, java.util.Calendar grantTime)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAssignmentId()
          Gets the assignmentId value for this BonusPayment.
 Price getBonusAmount()
          Gets the bonusAmount value for this BonusPayment.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.util.Calendar getGrantTime()
          Gets the grantTime value for this BonusPayment.
 java.lang.String getReason()
          Gets the reason value for this BonusPayment.
 Request getRequest()
          Gets the request value for this BonusPayment.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getWorkerId()
          Gets the workerId value for this BonusPayment.
 int hashCode()
           
 void setAssignmentId(java.lang.String assignmentId)
          Sets the assignmentId value for this BonusPayment.
 void setBonusAmount(Price bonusAmount)
          Sets the bonusAmount value for this BonusPayment.
 void setGrantTime(java.util.Calendar grantTime)
          Sets the grantTime value for this BonusPayment.
 void setReason(java.lang.String reason)
          Sets the reason value for this BonusPayment.
 void setRequest(Request request)
          Sets the request value for this BonusPayment.
 void setWorkerId(java.lang.String workerId)
          Sets the workerId value for this BonusPayment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BonusPayment

public BonusPayment()

BonusPayment

public BonusPayment(Request request,
                    java.lang.String workerId,
                    Price bonusAmount,
                    java.lang.String assignmentId,
                    java.lang.String reason,
                    java.util.Calendar grantTime)
Method Detail

getRequest

public Request getRequest()
Gets the request value for this BonusPayment.

Returns:
request

setRequest

public void setRequest(Request request)
Sets the request value for this BonusPayment.

Parameters:
request -

getWorkerId

public java.lang.String getWorkerId()
Gets the workerId value for this BonusPayment.

Returns:
workerId

setWorkerId

public void setWorkerId(java.lang.String workerId)
Sets the workerId value for this BonusPayment.

Parameters:
workerId -

getBonusAmount

public Price getBonusAmount()
Gets the bonusAmount value for this BonusPayment.

Returns:
bonusAmount

setBonusAmount

public void setBonusAmount(Price bonusAmount)
Sets the bonusAmount value for this BonusPayment.

Parameters:
bonusAmount -

getAssignmentId

public java.lang.String getAssignmentId()
Gets the assignmentId value for this BonusPayment.

Returns:
assignmentId

setAssignmentId

public void setAssignmentId(java.lang.String assignmentId)
Sets the assignmentId value for this BonusPayment.

Parameters:
assignmentId -

getReason

public java.lang.String getReason()
Gets the reason value for this BonusPayment.

Returns:
reason

setReason

public void setReason(java.lang.String reason)
Sets the reason value for this BonusPayment.

Parameters:
reason -

getGrantTime

public java.util.Calendar getGrantTime()
Gets the grantTime value for this BonusPayment.

Returns:
grantTime

setGrantTime

public void setGrantTime(java.util.Calendar grantTime)
Sets the grantTime value for this BonusPayment.

Parameters:
grantTime -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer