public function create($apiContext = null, $soapCall = null)
    {
        $methodName = 'doTransaction';
        $payload = $this->request->parseForEnterpriseAPI($this);

        $json = self::executeCall(
            $methodName,
            $payload,
            null,
            $apiContext,
            $soapCall
        );
        $this->fromJson($json);

        return $this;
    }
public function create($apiContext = null, $soapCall = null)
    {
        $methodName = 'doTransaction';
        $payload = $this->request->parseForEnterpriseAPI($this);

        $json = self::executeCall(
            $methodName,
            $payload,
            null,
            $apiContext,
            $soapCall
        );
        $this->fromJson($json);

        return $this;
    }
public function create ( $ apiContext = null , $ soapCall = null ) { $ methodName = 'doTransaction' ; $ payload = $ this -> request -> parseForEnterpriseAPI ( $ this ) ; $ json = self :: executeCall ( $ methodName , $ payload , null , $ apiContext , $ soapCall ) ; $ this -> fromJson ( $ json ) ; return $ this ; }
Executes, or completes direct payment processing. In the JSON request body, include a `payment` object with the intent,
customer, fundingInstrument, transaction etc. Also include return, notify, and cancel URLs in the `payment` object.

@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
Executes or completes direct payment processing . In the JSON request body include a payment object with the intent customer fundingInstrument transaction etc . Also include return notify and cancel URLs in the payment object .