Class CouponParameters


  • public class CouponParameters
    extends java.lang.Object

    Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Unit getSupplementSpace()
      Space between main the BarCode and supplement BarCode in Unit value.
      void setSupplementSpace​(Unit value)
      Space between main the BarCode and supplement BarCode in Unit value.
      java.lang.String toString()
      Returns a human-readable string representation of this CouponParameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getSupplementSpace

        public Unit getSupplementSpace()

        Space between main the BarCode and supplement BarCode in Unit value.

        Throws:
        java.lang.IllegalArgumentException - <p>The <b>Space</b> parameter value is less than 0.</p>
      • setSupplementSpace

        public void setSupplementSpace​(Unit value)

        Space between main the BarCode and supplement BarCode in Unit value.

        Throws:
        java.lang.IllegalArgumentException - <p>The <b>Space</b> parameter value is less than 0.</p>
      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this CouponParameters.

        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents this CouponParameters.