<?php $res = \AlternativePayments\Refund::get("trn_d70bcef", "trn_nonprofitpen1"); //class name, refund transaction id, parent transaction id var_dump($res);
<?php $res = \AlternativePayments\Refund::getAll("trn_nonprofitpen1"); var_dump($res);
<?php use AlternativePayments\Model\ReturnReason; $obj = new \AlternativePayments\Model\Refund(); $obj->setReason(ReturnReason::UNSATISFIED_CUSTOMER); $res = \AlternativePayments\Refund::post($obj, "trn_1cfa454"); var_dump($res);