Class AmexDecFL<M>

java.lang.Object
cl.netswitch.iso.amex8583.AmexField<M,BigDecimal>
cl.netswitch.iso.amex8583.AmexDecFL<M>
Type Parameters:
M - the type of the ISO message.

public class AmexDecFL<M> extends AmexField<M,BigDecimal>
Decimal Fixed-Length Right-Justified of N digits (1 ≤ N) and Scale S (0 ≤ S < N).
  • Constructor Details

    • AmexDecFL

      public AmexDecFL(int index, int length, String name)
      Constructs a new AmexDecFL instance with scale 0.
      Parameters:
      index - the index of this field.
      length - the number of elements of this field value.
      name - the name of this field.
      Throws:
      NullPointerException - if name is null.
      IllegalArgumentException - if an argument is invalid.
    • AmexDecFL

      public AmexDecFL(int index, int length, int scale, String name)
      Constructs a new AmexDecFL instance.
      Parameters:
      index - the index of this field.
      length - the number of elements of this field value.
      scale - the number of digits in the fractional part.
      name - the name of this field.
      Throws:
      NullPointerException - if name is null.
      IllegalArgumentException - if an argument is invalid.
  • Method Details