|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFDataObject
com.edustructures.sifworks.hrfin.Payment
public class Payment
This object complements the Billing object, and contains information about the payment of a billing object.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Payment()
Constructor |
|
Payment(java.lang.String refId,
java.lang.String entityId,
java.lang.String billingRefId,
java.util.Calendar receivedDate,
java.lang.String transactionDescription,
java.math.BigDecimal receivedAmount,
java.lang.String receivedTransactionId)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getBillingRefId()
Gets the value of the BillingRefId attribute. |
java.lang.String |
getEntityId()
Gets the value of the <EntityId> element. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.math.BigDecimal |
getReceivedAmount()
Gets the value of the <ReceivedAmount> element. |
java.util.Calendar |
getReceivedDate()
Gets the value of the <ReceivedDate> element. |
java.lang.String |
getReceivedTransactionId()
Gets the value of the <ReceivedTransactionId> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.lang.String |
getTransactionDescription()
Gets the value of the <TransactionDescription> element. |
void |
setBillingRefId(java.lang.String value)
Sets the value of the BillingRefId attribute. |
void |
setEntityId(java.lang.String value)
Sets the value of the <EntityId> element. |
void |
setReceivedAmount(java.math.BigDecimal value)
Sets the value of the <ReceivedAmount> element. |
void |
setReceivedDate(java.util.Calendar value)
Sets the value of the <ReceivedDate> element. |
void |
setReceivedTransactionId(java.lang.String value)
Sets the value of the <ReceivedTransactionId> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setTransactionDescription(java.lang.String value)
Sets the value of the <TransactionDescription> element. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Payment()
public Payment(java.lang.String refId,
java.lang.String entityId,
java.lang.String billingRefId,
java.util.Calendar receivedDate,
java.lang.String transactionDescription,
java.math.BigDecimal receivedAmount,
java.lang.String receivedTransactionId)
refId - GUID for this transaction. The application that owns this object is responsible for generating this unique ID.entityId - ID of the entity related to this billing activity (e.g. student ID, employee ID, organization, etc.)billingRefId - A pointer back to the Billing object.receivedDate - Date payment was received.transactionDescription - Description of the transaction.receivedAmount - Amount received.receivedTransactionId - Memo transaction ID from other vendor software.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getRefId()
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID for this transaction. The application that owns this object is responsible for generating this unique ID."
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID for this transaction. The application that owns this object is responsible for generating this unique ID."
value - A String objectpublic java.lang.String getEntityId()
<EntityId> element.
The SIF specification defines the meaning of this element as: "ID of the entity related to this billing activity (e.g. student ID, employee ID, organization, etc.)"
EntityId element of this object.public void setEntityId(java.lang.String value)
<EntityId> element.
The SIF specification defines the meaning of this element as: "ID of the entity related to this billing activity (e.g. student ID, employee ID, organization, etc.)"
value - A String objectpublic java.lang.String getBillingRefId()
BillingRefId attribute.
The SIF specification defines the meaning of this attribute as: "A pointer back to the Billing object."
BillingRefId attribute of this object.public void setBillingRefId(java.lang.String value)
BillingRefId attribute.
The SIF specification defines the meaning of this attribute as: "A pointer back to the Billing object."
value - A String objectpublic java.util.Calendar getReceivedDate()
<ReceivedDate> element.
The SIF specification defines the meaning of this element as: "Date payment was received."
ReceivedDate element of this object.public void setReceivedDate(java.util.Calendar value)
<ReceivedDate> element.
The SIF specification defines the meaning of this element as: "Date payment was received."
value - A Calendar objectpublic java.lang.String getTransactionDescription()
<TransactionDescription> element.
The SIF specification defines the meaning of this element as: "Description of the transaction."
TransactionDescription element of this object.public void setTransactionDescription(java.lang.String value)
<TransactionDescription> element.
The SIF specification defines the meaning of this element as: "Description of the transaction."
value - A String objectpublic java.math.BigDecimal getReceivedAmount()
<ReceivedAmount> element.
The SIF specification defines the meaning of this element as: "Amount received."
ReceivedAmount element of this object.public void setReceivedAmount(java.math.BigDecimal value)
<ReceivedAmount> element.
The SIF specification defines the meaning of this element as: "Amount received."
value - A BigDecimal objectpublic java.lang.String getReceivedTransactionId()
<ReceivedTransactionId> element.
The SIF specification defines the meaning of this element as: "Memo transaction ID from other vendor software."
ReceivedTransactionId element of this object.public void setReceivedTransactionId(java.lang.String value)
<ReceivedTransactionId> element.
The SIF specification defines the meaning of this element as: "Memo transaction ID from other vendor software."
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||