code: def quantity(self, quantity):
          
  
          if quantity is None:
              raise ValueError("Invalid value for `quantity`, must not be `None`")
          if len(quantity) > 5:
              raise ValueError("Invalid value for `quantity`, length must be less than `5`")
          if len(quantity) < 1:
              raise ValueError("Invalid value for `quantity`, length must be greater than or equal to `1`")
  
          self._quantity = quantity
docs: Sets the quantity of this OrderLineItem.
          The quantity purchased, as a string representation of a number.  This string must have a positive integer value.
  
          :param quantity: The quantity of this OrderLineItem.
          :type: str