Exemplo n.º 1
0
 /**
  * @param Customer $customer
  *
  * @return Project
  */
 public function setCustomer(Customer $customer)
 {
     $this->setCustomerId($customer->getCustomerId());
     return $this;
 }
Exemplo n.º 2
0
 /**
  * @param Customer $customer
  *
  * @return array
  */
 public function deleteCustomer(Customer $customer)
 {
     return $this->call(new DeleteRequest('customer.delete', array('customer_id' => $customer->getCustomerId())))->getResponse();
 }