delete() public méthode

public delete ( $path )
 /**
  * delete an address by id
  *
  * @param mixed $customerOrId
  * @param string $addressId
  */
 public function delete($customerOrId = null, $addressId = null)
 {
     $this->_validateId($addressId);
     $customerId = $this->_determineCustomerId($customerOrId);
     $path = $this->_config->merchantPath() . '/customers/' . $customerId . '/addresses/' . $addressId;
     $this->_http->delete($path);
     return new Result\Successful();
 }