예제 #1
0
 /**
  * Creating a CreditNote
  *
  * @param Customer $customer
  *
  * @return CreditNote
  */
 public static function create(Customer $customer, $description = '')
 {
     $creditNote = new CreditNote();
     return $creditNote->setCustomer($customer)->setDescription(trim($description))->save();
 }