paynet.xact
Class PayByTouchTransaction

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

public class PayByTouchTransaction
extends Transaction


Field Summary
static java.lang.String COMPANY_KEY
           
static java.lang.String DEBUG_COMPANY_KEY
           
static java.lang.String DEBUG_CONNECTION
           
static java.lang.String DEBUG_SECURITY_KEY
           
static java.lang.String DEFAULT_CONNECTION
           
static java.lang.String SECURITY_KEY
           
 
Constructor Summary
PayByTouchTransaction()
          default constructor
PayByTouchTransaction(org.w3c.dom.Document doc)
          XML Document constructor
PayByTouchTransaction(Transaction transaction)
          existing transaction constructor
PayByTouchTransaction(core.xml.Xml root)
          XML constructor
 
Method Summary
 boolean debugMode()
          is this supposed to use the test platform?
 core.diag.ITrace getTrace()
           
 boolean isVerbose()
          certification requires us to send the "VERBOSE_RESPONSE" field
 void setConnectionString(java.lang.String connectionString)
          override the default connection string
 void setDebugMode(boolean mode)
          tell this transaction to use the test platform
 void setIsVerbose(boolean v)
          set the certification bit ("VERBOSE_RESPONSE")
 void setTrace(core.diag.ITrace trace)
          set a trace if you want
 Transaction submit()
          Submit a transaction
 Transaction submitInTestMode()
          Submit Xact in Test mode: auth and then void right away.
 void validate()
          Validate a transaction before submitting
 java.lang.String xmlTrace()
          Diagnostic...
 
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, toXml, trace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONNECTION

public static final java.lang.String DEFAULT_CONNECTION
See Also:
Constant Field Values

DEBUG_CONNECTION

public static final java.lang.String DEBUG_CONNECTION
See Also:
Constant Field Values

COMPANY_KEY

public static final java.lang.String COMPANY_KEY
See Also:
Constant Field Values

DEBUG_COMPANY_KEY

public static final java.lang.String DEBUG_COMPANY_KEY
See Also:
Constant Field Values

SECURITY_KEY

public static final java.lang.String SECURITY_KEY
See Also:
Constant Field Values

DEBUG_SECURITY_KEY

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

PayByTouchTransaction

public PayByTouchTransaction()
default constructor


PayByTouchTransaction

public PayByTouchTransaction(core.xml.Xml root)
                      throws core.xml.XMLException
XML constructor

Throws:
core.xml.XMLException

PayByTouchTransaction

public PayByTouchTransaction(org.w3c.dom.Document doc)
                      throws core.xml.XMLException
XML Document constructor

Throws:
core.xml.XMLException

PayByTouchTransaction

public PayByTouchTransaction(Transaction transaction)
                      throws core.xml.XMLException
existing transaction constructor

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()

setIsVerbose

public void setIsVerbose(boolean v)
set the certification bit ("VERBOSE_RESPONSE")


isVerbose

public boolean isVerbose()
certification requires us to send the "VERBOSE_RESPONSE" field


xmlTrace

public java.lang.String xmlTrace()
                          throws core.xml.XMLException,
                                 PaynetException
Diagnostic... trace the transaction

Throws:
core.xml.XMLException
PaynetException

submit

public Transaction submit()
                   throws PaynetException
Submit a transaction

Specified by:
submit in class Transaction
Throws:
PaynetException

submitInTestMode

public Transaction submitInTestMode()
                             throws PaynetException
Submit Xact in Test mode: auth and then void right away.

Returns:
Throws:
PaynetException

setConnectionString

public void setConnectionString(java.lang.String connectionString)
override the default connection string


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?


validate

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

Specified by:
validate in class Transaction
Throws:
PaynetException