Aspose.Barcode for Python via Java Generation and Recognition API docs
asposebarcode.Generation.CouponParameters Class Reference

Coupon parameters. More...

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def init (self)
 
def getSupplementSpace (self)
 Space between main the BarCode and supplement BarCode in Unit value. More...
 
def setSupplementSpace (self, value)
 Space between main the BarCode and supplement BarCode in Unit value. More...
 
def toString (self)
 Returns a human-readable string representation of this CouponParameters. More...
 
- Public Member Functions inherited from asposebarcode.Assist.BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Additional Inherited Members

- Public Attributes inherited from asposebarcode.Assist.BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Coupon parameters.

Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Generation.CouponParameters.__init__ (   self,
  javaClass 
)

Member Function Documentation

◆ getSupplementSpace()

def asposebarcode.Generation.CouponParameters.getSupplementSpace (   self)

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

Exceptions
IllegalArgumentExceptionThe Space parameter value is less than 0.

◆ init()

def asposebarcode.Generation.CouponParameters.init (   self)

◆ setSupplementSpace()

def asposebarcode.Generation.CouponParameters.setSupplementSpace (   self,
  value 
)

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

Exceptions
IllegalArgumentExceptionThe Space parameter value is less than 0.

◆ toString()

def asposebarcode.Generation.CouponParameters.toString (   self)

Returns a human-readable string representation of this CouponParameters.

Returns
A string that represents this CouponParameters.