/** * Function can be overrided to change behaviour */ public function storeEcheck(EcheckRecord $echeck, Am_Paysystem_Result $result) { if ($this->storesCcInfo()) { $echeck->replace(); $result->setSuccess(); } return $this; }
public function toEcheckRecord(EcheckRecord $echeck) { $values = $this->getValue(); unset($values['a']); unset($values['id']); unset($values['action']); $echeck->setForInsert($values); }