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

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • putExtra (Intent)
  • setContentView (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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