Class Credit

All Implemented Interfaces:
Cloneable

public class Credit extends BaseFee
A credit, in currency units specified elsewhere in the xml, and with an optional description.
  • Constructor Details

    • Credit

      public Credit()
  • Method Details

    • create

      public static Credit create(BigDecimal cost, BaseFee.FeeType type, Object... descriptionArgs)
      Creates a Credit for the given amount and type with the default description.
    • createWithCustomDescription

      public static Credit createWithCustomDescription(BigDecimal cost, BaseFee.FeeType type, String description)
      Creates a Credit for the given amount and type with a custom description.