|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.pay.xml.XMLTransactionOverview
public class XMLTransactionOverview
This class is used by JAP to ask the Payment Instance about
used transaction numbers. JAP has to send the structure without the
attributed "used" to the Payment Instance.
The PI will then fill in the attributes according to its database entries.
Field Summary | |
---|---|
static java.lang.String |
KEY_ACCOUNTNUMBER
|
static java.lang.String |
KEY_AMOUNT
|
static java.lang.String |
KEY_CREATIONDATE
|
static java.lang.String |
KEY_DATE
|
static java.lang.String |
KEY_PAYMENTMETHOD
|
static java.lang.String |
KEY_TAN
|
static java.lang.String |
KEY_USED
|
static java.lang.String |
KEY_VOLUMEPLAN
|
private java.lang.String |
m_language
|
private java.util.Vector |
m_transactions
|
static java.lang.Object |
XML_ELEMENT_NAME
|
Fields inherited from interface anon.util.IXMLEncodable |
---|
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION |
Constructor Summary | |
---|---|
XMLTransactionOverview(byte[] xml)
|
|
XMLTransactionOverview(char[] xml)
|
|
XMLTransactionOverview(org.w3c.dom.Document doc)
|
|
XMLTransactionOverview(org.w3c.dom.Element element)
|
|
XMLTransactionOverview(java.lang.String a_language)
|
Method Summary | |
---|---|
void |
addTan(long a_tan)
Adds a transfer number and sets its state to "not used". |
java.util.Hashtable |
getDataForTransaction(long a_transactionNumber)
|
java.lang.String |
getLanguage()
|
java.util.Vector |
getTans()
Gets an vector of all transfer numbers |
boolean |
isUsed(long a_tan)
Returns if a specific transfer number is marked as "used". |
void |
setTransactionData(long a_tan,
long a_creationDate,
boolean a_used,
long a_usedDate,
long amount,
long accountnumber,
java.lang.String volumePlan,
java.lang.String paymentMethod)
Sets a specific tan to used or not used, and add all the data associated with the TAN |
private void |
setValues(org.w3c.dom.Element elemRoot)
|
int |
size()
|
org.w3c.dom.Element |
toXmlElement(org.w3c.dom.Document a_doc)
Return an element that can be appended to the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Object XML_ELEMENT_NAME
private java.util.Vector m_transactions
private java.lang.String m_language
public static final java.lang.String KEY_ACCOUNTNUMBER
public static final java.lang.String KEY_TAN
public static final java.lang.String KEY_DATE
public static final java.lang.String KEY_CREATIONDATE
public static final java.lang.String KEY_AMOUNT
public static final java.lang.String KEY_VOLUMEPLAN
public static final java.lang.String KEY_PAYMENTMETHOD
public static final java.lang.String KEY_USED
Constructor Detail |
---|
public XMLTransactionOverview(java.lang.String a_language)
public XMLTransactionOverview(char[] xml) throws java.lang.Exception
java.lang.Exception
public XMLTransactionOverview(byte[] xml) throws java.lang.Exception
java.lang.Exception
public XMLTransactionOverview(org.w3c.dom.Document doc) throws java.lang.Exception
java.lang.Exception
public XMLTransactionOverview(org.w3c.dom.Element element) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public int size()
private void setValues(org.w3c.dom.Element elemRoot) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
IXMLEncodable
toXmlElement
in interface IXMLEncodable
a_doc
- a document
public java.util.Vector getTans()
public java.lang.String getLanguage()
public boolean isUsed(long a_tan)
a_tan
- long
public java.util.Hashtable getDataForTransaction(long a_transactionNumber)
a_transactionNumber
- long
public void setTransactionData(long a_tan, long a_creationDate, boolean a_used, long a_usedDate, long amount, long accountnumber, java.lang.String volumePlan, java.lang.String paymentMethod)
a_tan
- longa_used
- booleana_usedDate
- longpublic void addTan(long a_tan)
a_tan
- long
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |