Class CouponParameters

java.lang.Object
com.aspose.barcode.generation.CouponParameters

public class CouponParameters extends Object

Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.

  • Method Details

    • getSupplementSpace

      public Unit getSupplementSpace()

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

      Throws:
      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:
      IllegalArgumentException - <p>The <b>Space</b> parameter value is less than 0.</p>
    • toString

      public String toString()

      Returns a human-readable string representation of this CouponParameters.

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