public static function get($reference, $apiContext = null, $soapCall = null)
    {
        $methodName = 'getTransaction';
        ArgumentValidator::validate($reference, 'PayUReference');
        $payload = array(
            'AdditionalInformation' => array(
                'payUReference' => $reference
            )
        );

        $json = self::executeCall(
            $methodName,
            $payload,
            null,
            $apiContext,
            $soapCall
        );

        $ret = new static();
        $ret->fromJson($json);
        return $ret;
    }
public static function get($reference, $apiContext = null, $soapCall = null)
    {
        $methodName = 'getTransaction';
        ArgumentValidator::validate($reference, 'PayUReference');
        $payload = array(
            'AdditionalInformation' => array(
                'payUReference' => $reference
            )
        );

        $json = self::executeCall(
            $methodName,
            $payload,
            null,
            $apiContext,
            $soapCall
        );

        $ret = new static();
        $ret->fromJson($json);
        return $ret;
    }
public static function get ( $ reference , $ apiContext = null , $ soapCall = null ) { $ methodName = 'getTransaction' ; ArgumentValidator :: validate ( $ reference , 'PayUReference' ) ; $ payload = array ( 'AdditionalInformation' => array ( 'payUReference' => $ reference ) ) ; $ json = self :: executeCall ( $ methodName , $ payload , null , $ apiContext , $ soapCall ) ; $ ret = new static ( ) ; $ ret -> fromJson ( $ json ) ; return $ ret ; }
Shows details a of payment or redirect resource.

@param string $reference
@param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
@param SoapCall $soapCall is the SOAP Call Service that is used to make API calls
@return ResourceModel resource object
Shows details a of payment or redirect resource .