|
||||||||||
| 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.food.FoodserviceTransactionDetails
public class FoodserviceTransactionDetails
This object gives the transaction distribution for food service transactions of type other than "Purchase". So, this object can be requested for transactions of type "Prepayment", "Repayment", "Refund", "Adjustment". SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
FoodserviceTransactionDetails()
Constructor |
|
FoodserviceTransactionDetails(java.lang.String refId,
java.lang.String foodserviceTransactionRefId,
FSAmounts amounts)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
FSAmounts |
getAmounts()
Gets the value of the <Amounts> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> element. |
java.lang.String |
getFoodserviceTransactionRefId()
Gets the value of the <FoodserviceTransactionRefId> 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.lang.String |
getRefId()
Gets the value of the RefId attribute. |
void |
removeAmounts()
Removes the Amounts child element previously created by calling setAmounts |
void |
setAmounts(FSAmounts value)
Sets the value of the <Amounts> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setFoodserviceTransactionRefId(java.lang.String value)
Sets the value of the <FoodserviceTransactionRefId> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
| 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 FoodserviceTransactionDetails()
public FoodserviceTransactionDetails(java.lang.String refId,
java.lang.String foodserviceTransactionRefId,
FSAmounts amounts)
refId - GUID that identifies transaction detailsfoodserviceTransactionRefId - GUID that identifies food service transactionamounts - Amount. This amount refers to the funds being directed inwards/ outwards from the customer's account. That is: these amounts reflect the changes to the account balances.| 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 that identifies transaction details"
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 that identifies transaction details"
value - A String objectpublic java.lang.String getFoodserviceTransactionRefId()
<FoodserviceTransactionRefId> element.
The SIF specification defines the meaning of this element as: "GUID that identifies food service transaction"
FoodserviceTransactionRefId element of this object.public void setFoodserviceTransactionRefId(java.lang.String value)
<FoodserviceTransactionRefId> element.
The SIF specification defines the meaning of this element as: "GUID that identifies food service transaction"
value - A String objectpublic void setAmounts(FSAmounts value)
<Amounts> element.
The SIF specification defines the meaning of this element as: "Amount. This amount refers to the funds being directed inwards/ outwards from the customer's account. That is: these amounts reflect the changes to the account balances."
value - A FSAmounts objectpublic FSAmounts getAmounts()
<Amounts> element.
The SIF specification defines the meaning of this element as: "Amount. This amount refers to the funds being directed inwards/ outwards from the customer's account. That is: these amounts reflect the changes to the account balances."
FSAmounts objectpublic void removeAmounts()
Amounts child element previously created by calling setAmounts
public java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "Description"
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
The SIF specification defines the meaning of this element as: "Description"
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||