paynet.xact
Class PaynetTransaction

java.lang.Object
  extended by paynet.Transaction
      extended by paynet.xact.PaynetTransaction

public class PaynetTransaction
extends Transaction


Field Summary
static java.lang.String PAYNET_PARAMETER_NAME
           
 
Constructor Summary
PaynetTransaction()
          default constructor
PaynetTransaction(org.w3c.dom.Document doc)
          constructor that uses an XML document
PaynetTransaction(core.xml.Xml xml)
          constructor that uses XML
 
Method Summary
 boolean debugMode()
          is this supposed to use the test platform?
 java.lang.String getSourceIp()
          soruce IP
 core.diag.ITrace getTrace()
           
 void setDebugMode(boolean mode)
          tell this transaction to use the test platform
 void setSourceIp(java.lang.String ip)
          source IP
 void setTrace(core.diag.ITrace trace)
          set a trace if you want
 Transaction submit()
          Submit a transaction
 org.w3c.dom.Element toXml(core.xml.Xml root)
          display the XML for this transaction
 void validate()
          Validate a transaction before submitting
 
Methods inherited from class paynet.Transaction
getAav, getAccountNumber, getAmount, getApprovalCode, getAvv, getCurrency, getCvv, getEasyStreetVerbose, getExchangeRate, getExpiration, getGoodsIndicator, getMerchant, getMerchantId, getOriginalTransactionNumber, getPlatform, getPlatformId, getResponseCode, getResponseMessage, getRoutingNumber, getTerminal, getTrackData, getTranDate, getTransactionId, getTransactionNumber, getTransactionType, getTransactionTypeId, getTranTime, getXid, isApproved, isEasyStreetVerbose, isSecureCode, isVerifiedByVisa, responseXml, setAav, setAccountNumber, setAmount, setApprovalCode, setAvv, setCurrency, setCvv, setExchangeRate, setExpiration, setGoodsIndicator, setIsApproved, setIsEasyStreetVerbose, setIsSecureCode, setIsVerifiedByVisa, setOriginalTransactionNumber, setPlatformId, setResponseCode, setResponseMessage, setRoutingNumber, setTerminal, setTrackData, setTranDate, setTransactionNumber, setTransactionTypeId, setTranTime, setXid, trace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAYNET_PARAMETER_NAME

public static final java.lang.String PAYNET_PARAMETER_NAME
See Also:
Constant Field Values
Constructor Detail

PaynetTransaction

public PaynetTransaction()
default constructor


PaynetTransaction

public PaynetTransaction(core.xml.Xml xml)
                  throws core.xml.XMLException
constructor that uses XML

Throws:
core.xml.XMLException

PaynetTransaction

public PaynetTransaction(org.w3c.dom.Document doc)
                  throws core.xml.XMLException
constructor that uses an XML document

Throws:
core.xml.XMLException
Method Detail

setTrace

public void setTrace(core.diag.ITrace trace)
set a trace if you want


getTrace

public core.diag.ITrace getTrace()

submit

public Transaction submit()
                   throws PaynetException
Submit a transaction

Specified by:
submit in class Transaction
Throws:
PaynetException

setDebugMode

public void setDebugMode(boolean mode)
tell this transaction to use the test platform


debugMode

public boolean debugMode()
is this supposed to use the test platform?


setSourceIp

public void setSourceIp(java.lang.String ip)
source IP


getSourceIp

public java.lang.String getSourceIp()
soruce IP


validate

public void validate()
              throws PaynetException
Validate a transaction before submitting

Specified by:
validate in class Transaction
Throws:
PaynetException

toXml

public org.w3c.dom.Element toXml(core.xml.Xml root)
                          throws PaynetException
display the XML for this transaction

Overrides:
toXml in class Transaction
Throws:
PaynetException