/**
  * Delete a customer.
  *
  * @param string|stdClass $token A valid customer token returned from a
  *                               successful customer creation.
  * @return stdClass
  */
 public static function delete($token)
 {
     return parent::delete($token);
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function delete($object)
 {
     $result = parent::delete($object);
     $this->eventManager->dispatch('catalog_product_delete_after_done', ['product' => $object]);
     return $result;
 }
Example #3
0
 /**
  * Delete a customer.
  *
  * @param string|stdClass $token A valid customer token returned from a
  *                               successful customer creation.
  * @return stdClass
  */
 public static function delete($token, array $params = array())
 {
     return parent::delete($token, $params);
 }