getAll($newCtrl); } public static function get($code) { $service = new AlternativePaymentsWooRequest; return $service->get(self::RESOURCE, $code); } public static function post($data, $parentCode) { $newCtrl = self::RESOURCE."/".$parentCode."/".self::ACTION; $service = new AlternativePaymentsWooRequest; return $service->post($newCtrl, $data); } }