/** * Issues to the Bf_Account, credit of the specified value and currency. * @param int Nominal value of credit note * @param ISO_4217_Currency_Code The currency code * @return Bf_CreditNote */ public function issueCredit($value, $currency = 'USD') { $creditNote = new Bf_CreditNote(array('value' => $value, 'currency' => $currency)); return $creditNote->issueToAccount($this->id); }