public class PaymentInstanceDBEntry extends AbstractDistributableCertifiedDatabaseEntry implements IVerifyable
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_ELEMENT_CONTAINER_NAME |
static java.lang.String |
XML_ELEMENT_NAME |
XML_ATTR_LAST_UPDATE, XML_ATTR_SERIAL, XML_ATTR_VALID, XML_ATTR_VERIFIED
XML_LAST_UPDATE
FIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRING
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
Constructor and Description |
---|
PaymentInstanceDBEntry(org.w3c.dom.Element elemRoot) |
PaymentInstanceDBEntry(org.w3c.dom.Element elemRoot,
long a_expireTime)
Creates a PaymentInstanceDBEntry which represents a payment instance.
|
PaymentInstanceDBEntry(java.lang.String a_id,
java.lang.String a_name,
JAPCertificate a_cert,
java.util.Enumeration a_listeners,
java.lang.String software_version,
long creationTime,
long a_serialNumber,
java.util.Hashtable a_hashURLs,
java.util.Hashtable a_hashFreeCodeURLs,
java.lang.String a_affiliateArgument,
java.lang.String a_argTransaction,
java.lang.String a_argPlanName,
java.lang.String a_shopArgument,
java.lang.String a_argLanguage) |
Modifier and Type | Method and Description |
---|---|
void |
deletePersistence() |
boolean |
equals(java.lang.Object a_paymentInstance) |
MultiCertPath |
getCertPath() |
java.net.URL |
getFreeCodeURL() |
java.lang.String |
getId()
Returns a unique ID for a database entry.
|
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance.
|
java.util.Enumeration |
getListenerInterfaces()
Returns the listener interfaces of this PI in a random order.
|
java.lang.String |
getName() |
java.lang.String |
getOrganisation() |
java.lang.String |
getPostFile()
This returns the filename (InfoService command), where this PaymentInstanceDBEntry is posted at
other InfoServices.
|
XMLSignature |
getSignature() |
long |
getVersionNumber()
Returns the time when this payment instance entry was created by the origin payment instance.
|
java.net.URL |
getWebshopURL() |
java.net.URL |
getWebshopURL(long a_lTransactionID,
java.lang.String a_rateID) |
org.w3c.dom.Element |
getXmlStructure()
Returns the XML structure for this db entry.
|
int |
hashCode() |
boolean |
isPersistanceDeletionAllowed() |
boolean |
isTest() |
boolean |
isValid()
Returns if the object is valid at this time
|
boolean |
isVerified()
Returns if this entry has been verified with a certificate chain.
|
java.lang.String |
toString() |
checkId
getHttpRequestString, getHttpSerialsRequestString, getPostData, getPostEncoding, toXmlElement
getCreationTime, getExpireTime, isNewerThan, isUserDefined, resetCreationTime, setExpireTime
public static final java.lang.String XML_ELEMENT_NAME
public static final java.lang.String XML_ELEMENT_CONTAINER_NAME
public PaymentInstanceDBEntry(org.w3c.dom.Element elemRoot) throws XMLParseException
XMLParseException
public PaymentInstanceDBEntry(org.w3c.dom.Element elemRoot, long a_expireTime) throws XMLParseException
XMLParseException
public PaymentInstanceDBEntry(java.lang.String a_id, java.lang.String a_name, JAPCertificate a_cert, java.util.Enumeration a_listeners, java.lang.String software_version, long creationTime, long a_serialNumber, java.util.Hashtable a_hashURLs, java.util.Hashtable a_hashFreeCodeURLs, java.lang.String a_affiliateArgument, java.lang.String a_argTransaction, java.lang.String a_argPlanName, java.lang.String a_shopArgument, java.lang.String a_argLanguage)
public java.net.URL getWebshopURL()
public java.net.URL getFreeCodeURL()
public java.net.URL getWebshopURL(long a_lTransactionID, java.lang.String a_rateID)
public boolean isPersistanceDeletionAllowed()
isPersistanceDeletionAllowed
in class AbstractDatabaseEntry
public void deletePersistence()
deletePersistence
in class AbstractDatabaseEntry
public boolean isVerified()
AbstractDistributableCertifiedDatabaseEntry
isVerified
in interface IVerifyable
isVerified
in interface ICertifiedDatabaseEntry
isVerified
in class AbstractDistributableCertifiedDatabaseEntry
public boolean isValid()
IVerifyable
isValid
in interface IVerifyable
isValid
in interface ICertifiedDatabaseEntry
public XMLSignature getSignature()
getSignature
in interface ICertifiedDatabaseEntry
getSignature
in class AbstractDistributableCertifiedDatabaseEntry
public MultiCertPath getCertPath()
getCertPath
in interface IVerifyable
getCertPath
in interface ICertifiedDatabaseEntry
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getOrganisation()
public java.lang.String getId()
AbstractDatabaseEntry
getId
in interface IDistributable
getId
in class AbstractDatabaseEntry
public boolean equals(java.lang.Object a_paymentInstance)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getName()
public java.util.Enumeration getListenerInterfaces()
public long getVersionNumber()
getVersionNumber
in class AbstractDatabaseEntry
public long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate
in class AbstractDatabaseEntry
public java.lang.String getPostFile()
getPostFile
in interface IDistributable
public org.w3c.dom.Element getXmlStructure()
AbstractDistributableDatabaseEntry
getXmlStructure
in class AbstractDistributableDatabaseEntry
public boolean isTest()
Copyright © 2023. All rights reserved.