@property
def total_order(self) -> int:
    if (self._total_order is None):
        raise ValueError('Total order on discount row is not allowed empty.')
    return self._total_order
@property
def total_order(self) -> int:
    if (self._total_order is None):
        raise ValueError('Total order on discount row is not allowed empty.')
    return self._total_order