def barcode(self):
    '\n        Get the barcode.\n        '
    if ('barcode' in self.data()):
        barcode = self.data()['barcode']
        return barcode
    return None
Get the barcode.
def barcode(self):
    '\n        \n        '
    if ('barcode' in self.data()):
        barcode = self.data()['barcode']
        return barcode
    return None