<?php $res = \AlternativePayments\Plan::getAll(); var_dump($res);
<?php $res = \AlternativePayments\Plan::get("pln_fhdskhfdsjkerui8"); var_dump($res);
<?php $plan = new \AlternativePayments\Model\Plan(); $plan->setMerchantIdentification("VIP"); $plan->setInterval(5); $plan->setPeriod("Day"); $plan->setAmount(445); $plan->setCurrency("EUR"); $plan->setName("Test plan"); $plan->setDescription("Test Plan"); $res = \AlternativePayments\Plan::post($plan); var_dump($res);