Tabnine Logo
TransactionStatus.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
org.killbill.billing.payment.api.TransactionStatus

Best Java code snippets using org.killbill.billing.payment.api.TransactionStatus.toString (Showing top 4 results out of 315)

origin: stackoverflow.com

 TransactionStatus status = TransactionAspectSupport.currentTransactionStatus();
System.out.println("Current transaction: " + status.toString());
origin: org.kill-bill.billing/killbill-payment

final BigDecimal requestedAmount = BigDecimal.TEN;
final BigDecimal refundAmount = BigDecimal.ONE;
final Iterable<PluginProperty> pendingPluginProperties = ImmutableList.<PluginProperty>of(new PluginProperty(MockPaymentProviderPlugin.PLUGIN_PROPERTY_PAYMENT_PLUGIN_STATUS_OVERRIDE, TransactionStatus.PENDING.toString(), false));
origin: org.kill-bill.billing/killbill-payment

Assert.assertEquals(transactionModel.getTransactionStatus().toString(), "UNKNOWN");
origin: org.kill-bill.billing/killbill-jaxrs

public PaymentTransactionJson(final PaymentTransaction transaction, final String paymentExternalKey, @Nullable final List<AuditLog> transactionLogs) {
  this(transaction.getId(),
     transaction.getExternalKey(),
     transaction.getPaymentId(),
     paymentExternalKey,
     transaction.getTransactionType(),
     transaction.getAmount(),
     transaction.getCurrency() != null ? transaction.getCurrency() : null,
     transaction.getEffectiveDate(),
     transaction.getProcessedAmount(),
     transaction.getProcessedCurrency() != null ? transaction.getProcessedCurrency() : null,
     transaction.getTransactionStatus() != null ? transaction.getTransactionStatus().toString() : null,
     transaction.getGatewayErrorCode(),
     transaction.getGatewayErrorMsg(),
     transaction.getPaymentInfoPlugin() == null ? null : transaction.getPaymentInfoPlugin().getFirstPaymentReferenceId(),
     transaction.getPaymentInfoPlugin() == null ? null : transaction.getPaymentInfoPlugin().getSecondPaymentReferenceId(),
     transaction.getPaymentInfoPlugin() == null ? null : toPluginPropertyJson(transaction.getPaymentInfoPlugin().getProperties()),
     toAuditLogJson(transactionLogs));
}
org.killbill.billing.payment.apiTransactionStatustoString

Popular methods of TransactionStatus

  • equals
  • name
  • valueOf

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Kernel (java.awt.image)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • From CI to AI: The AI layer in your organization
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