function queryStatus($merchant_reference) { $query = Container::make()->getContainer()->make(QueryPaymentStatus::class); return $query->run($merchant_reference); }
function doUpdate(IPNData $IPNData) { $negotiator = Container::make()->getContainer()->make(OauthGetPaymentStatus::class); $negotiator->setIpnData($IPNData); $negotiator->run(); }
function generateIframe(GenerateIframe $command) { $negotiator = Container::make()->getContainer()->make(OauthNegotiateForIframe::class); $negotiator->getIframe($command->order); }