/**
  * @inheritdoc
  */
 public function set(FacadeInterface $facade, $code, $title, $shortDescription, $description, array $effects, $isCumulative, $isRemovingPostage, $isAvailableOnSpecialOffers, $isEnabled, $maxUsage, \DateTime $expirationDate, $freeShippingForCountries, $freeShippingForModules, $perCustomerUsageCount)
 {
     parent::set($facade, $code, $title, $shortDescription, $description, $effects, $isCumulative, $isRemovingPostage, $isAvailableOnSpecialOffers, $isEnabled, $maxUsage, $expirationDate, $freeShippingForCountries, $freeShippingForModules, $perCustomerUsageCount);
     $this->category_list = isset($effects[self::CATEGORIES_LIST]) ? $effects[self::CATEGORIES_LIST] : array();
     if (!is_array($this->category_list)) {
         $this->category_list = array($this->category_list);
     }
     $this->setFieldsValue($effects);
     return $this;
 }
 /**
  * @inheritdoc
  */
 public function set(FacadeInterface $facade, $code, $title, $shortDescription, $description, array $effects, $isCumulative, $isRemovingPostage, $isAvailableOnSpecialOffers, $isEnabled, $maxUsage, \DateTime $expirationDate, $freeShippingForCountries, $freeShippingForModules, $perCustomerUsageCount)
 {
     parent::set($facade, $code, $title, $shortDescription, $description, $effects, $isCumulative, $isRemovingPostage, $isAvailableOnSpecialOffers, $isEnabled, $maxUsage, $expirationDate, $freeShippingForCountries, $freeShippingForModules, $perCustomerUsageCount);
     $this->setFieldsValue($effects);
     return $this;
 }