|
||||||||||
| 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.SIFKeyedElement
com.edustructures.sifworks.food.TransactionPayMethod
public class TransactionPayMethod
Transaction method
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
TransactionPayMethod()
Constructor |
|
TransactionPayMethod(TransactionPayMethodType type,
FSAmounts amounts)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addAmounts(FSAmounts value)
Adds a new <Amounts> child element. |
FSAmounts[] |
getAmountses()
Gets all FSAmounts object instances. |
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 |
getType()
Gets the value of the Type attribute. |
void |
setAmountses(FSAmounts[] amountses)
Sets an array of FSAmounts objects. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
void |
setType(TransactionPayMethodType value)
Sets the value of the Type attribute. |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getSIFVersion, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setSIFVersion, 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 TransactionPayMethod()
public TransactionPayMethod(TransactionPayMethodType type,
FSAmounts amounts)
type - This refers to the way the payment was made.amounts - AmountThis amount is the form of the incoming funds for this transaction. For example; the payment can be made by a credit card.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getType()
Type attribute.
The SIF specification defines the meaning of this attribute as: "This refers to the way the payment was made."
Type attribute of this object.public void setType(TransactionPayMethodType value)
Type attribute.
The SIF specification defines the meaning of this attribute as: "This refers to the way the payment was made."
value - A constant defined by the TransactionPayMethodType classpublic void setType(java.lang.String value)
Type attribute as a String.
The SIF specification defines the meaning of this attribute as: "This refers to the way the payment was made."
value - The value as a Stringpublic void addAmounts(FSAmounts value)
<Amounts> child element.
The SIF specification defines the meaning of this element as: "AmountThis amount is the form of the incoming funds for this transaction. For example; the payment can be made by a credit card."
value - A FSAmounts objectpublic FSAmounts[] getAmountses()
FSAmounts object instances. More than one instance can be defined for this object because it is a repeatable field element.
FSAmounts objectspublic void setAmountses(FSAmounts[] amountses)
FSAmounts objects. All existing
FSAmounts instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all FSAmountses.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||