congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DefaultAmountFormatter
Code IndexAdd Tabnine to your IDE (free)

How to use
DefaultAmountFormatter
in
com.ning.billing.util

Best Java code snippets using com.ning.billing.util.DefaultAmountFormatter (Showing top 9 results out of 315)

origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getRate() {
  return round(BigDecimal.ZERO);
}
origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getPaidAmount() {
  return round(Objects.firstNonNull(invoice.getPaidAmount(), BigDecimal.ZERO));
}
origin: com.ning.billing/killbill-invoice

  @Override
  public BigDecimal getRefundedAmount() {
    return round(Objects.firstNonNull(invoice.getRefundedAmount(), BigDecimal.ZERO));
  }
}
origin: com.ning.billing/killbill-overdue

  @Override
  public String getFormattedBalanceOfUnpaidInvoices() {
    return round(Objects.firstNonNull(getBalanceOfUnpaidInvoices(), BigDecimal.ZERO)).toString();
  }
}
origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getChargedAmount() {
  return round(Objects.firstNonNull(invoice.getChargedAmount(), BigDecimal.ZERO));
}
origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getBalance() {
  return round(Objects.firstNonNull(invoice.getBalance(), BigDecimal.ZERO));
}
origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getCreditedAmount() {
  return round(Objects.firstNonNull(invoice.getCreditedAmount(), BigDecimal.ZERO));
}
origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getOriginalChargedAmount() {
  return round(Objects.firstNonNull(invoice.getOriginalChargedAmount(), BigDecimal.ZERO));
}
origin: com.ning.billing/killbill-invoice

@Override
public BigDecimal getAmount() {
  return round(Objects.firstNonNull(item.getAmount(), BigDecimal.ZERO));
}
com.ning.billing.utilDefaultAmountFormatter

Most used methods

  • round

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Best IntelliJ 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