Product¶
- class Product(parent=None)¶
Bases:
Item
This class describes an Product object child of Item class.
- get_barcode(path=None)¶
Generate barcode for this product
- Parameters:
path (string) – The path to save the barcode
- Returns:
Barcode object
- Return type:
barcode object
- save_barcode(path, options=None)¶
Generate barcode for this product and save it to a file as a .svg file
- Parameters:
path (string) – The path to save the barcode