Exemplo n.º 1
0
 def description(self, description):
     """Set the description for the Range."""
     CCAPI.set_product_description(
         product_ids=[p.id for p in self.products], description=description
     )
     self._description = description
Exemplo n.º 2
0
 def description(self, value):
     """Set the description of the product."""
     if value is None or value == "":
         value = self.name
     CCAPI.set_product_description(product_ids=[self.id], description=value)
     self._description = value