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

Coupon parameters. More...

Inherits BaseJavaClass.

Public Member Functions

None __init__ (self, javaClass)
 
str __str__ (self)
 Returns a human-readable string representation of this CouponParameters. More...
 
Optional[UnitgetSupplementSpace (self)
 Space between main the BarCode and supplement BarCode in Unit value. More...
 
None init (self)
 
None setSupplementSpace (self, Unit value)
 Space between main the BarCode and supplement BarCode in Unit value. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Coupon parameters.

Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ __str__()

str __str__ (   self)

Returns a human-readable string representation of this CouponParameters.

Returns
A string that represents this CouponParameters.

◆ getSupplementSpace()

Optional[Unit] getSupplementSpace (   self)

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

Exceptions
IllegalArgumentExceptionThe Space parameter value is less than 0.

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ setSupplementSpace()

None setSupplementSpace (   self,
Unit  value 
)

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

Exceptions
IllegalArgumentExceptionThe Space parameter value is less than 0.