<?php $obj = new \AlternativePayments\Model\Void(); $obj->setReason(\AlternativePayments\Model\ReturnReason::UNSATISFIED_CUSTOMER); $res = \AlternativePayments\Void::post($obj, "trn_nonprofitpen1"); var_dump($res);
<?php $res = \AlternativePayments\Void::get("trn_f09f256", "trn_nonprofitpen1"); //class, void transaction if, parent transaction id var_dump($res);
<?php $res = \AlternativePayments\Void::getAll("trn_nonprofitpen1"); var_dump($res);