congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TransactionRequest.getTestMode
Code IndexAdd Tabnine to your IDE (free)

How to use
getTestMode
method
in
com.aoindustries.creditcards.TransactionRequest

Best Java code snippets using com.aoindustries.creditcards.TransactionRequest.getTestMode (Showing top 4 results out of 315)

origin: com.aoindustries/ao-credit-cards-authorizeNet

addField(querySB, "x_exp_date", creditCard.getExpirationDateMMYY());
addField(querySB, "x_card_code", creditCard.getCardCode());
if(transactionRequest.getTestMode()) addField(querySB, "x_test_request", "TRUE");
addField(querySB, "x_duplicate_window", transactionRequest.getDuplicateWindow());
addField(querySB, "x_invoice_num", transactionRequest.getInvoiceNumber());
origin: com.aoindustries/ao-credit-cards-usaepay

  if(transactionRequest.getTestMode()) request.put("UMtestmode", "1");
try {
  results = submitTransaction(request, transactionRequest.getTestMode());
} catch(ErrorCodeException err) {
  return new AuthorizationResult(
origin: com.aoindustries/ao-credit-cards-stripe

private AuthorizationResult saleOrAuthorize(TransactionRequest transactionRequest, CreditCard creditCard, boolean capture) {
  if(transactionRequest.getTestMode()) {
    throw new UnsupportedOperationException("Test mode not currently supported");
origin: com.aoindustries/ao-credit-cards-payflowPro

try {
  SDKProperties.setHostAddress(transactionRequest.getTestMode() ? TEST_HOST_ADDRESS : LIVE_HOST_ADDRESS);
  SDKProperties.setHostPort(HOST_PORT);
  SDKProperties.setTimeOut(TIMEOUT);
  );
  PayflowConnectionData connectionData = new PayflowConnectionData(
    transactionRequest.getTestMode() ? TEST_HOST_ADDRESS : LIVE_HOST_ADDRESS,
    HOST_PORT,
    TIMEOUT
com.aoindustries.creditcardsTransactionRequestgetTestMode

Popular methods of TransactionRequest

  • getAmount
  • getCurrency
  • getOrderNumber
  • getShippingAmount
  • getShippingCity
  • getShippingCountryCode
  • getShippingFirstName
  • getShippingLastName
  • getShippingPostalCode
  • getShippingState
  • getShippingStreetAddress1
  • getShippingStreetAddress2
  • getShippingStreetAddress1,
  • getShippingStreetAddress2,
  • getTaxAmount,
  • getCustomerIp,
  • getDescription,
  • getDutyAmount,
  • getInvoiceNumber,
  • getPurchaseOrderNumber,
  • getTaxExempt

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • putExtra (Intent)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • String (java.lang)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now