protected function doUnserialize(array $json) { // consult parent for further unserialization parent::doUnserialize($json); $this->unserializeArrayEntities('invoiceLines', Bf_InvoiceLine::getClassName(), $json); $this->unserializeArrayEntities('taxLines', Bf_TaxLine::getClassName(), $json); $this->unserializeArrayEntities('invoicePayments', Bf_InvoicePayment::getClassName(), $json); $this->unserializeArrayEntities('invoiceRefunds', Bf_Refund::getClassName(), $json); $this->unserializeArrayEntities('invoiceCreditNotes', Bf_CreditNote::getClassName(), $json); $this->unserializeArrayEntities('charges', Bf_SubscriptionCharge::getClassName(), $json); }
public static function initStatics() { self::$_resourcePath = new Bf_ResourcePath('refunds', 'refund'); }