/** * Service Call: ExecuteCheckoutOperations * @param ExecuteCheckoutOperationsReq $executeCheckoutOperationsReq * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return PayPalAPI\ExecuteCheckoutOperationsResponseType * @throws APIException */ public function ExecuteCheckoutOperations($executeCheckoutOperationsReq, $apiCredential = NULL) { $apiContext = new PPApiContext($this->config); $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION)); $this->setStandardParams($executeCheckoutOperationsReq->ExecuteCheckoutOperationsRequest); $ret = new ExecuteCheckoutOperationsResponseType(); $resp = $this->call('PayPalAPIAA', 'ExecuteCheckoutOperations', $executeCheckoutOperationsReq, $apiContext, $handlers); $ret->init(PPUtils::xmlToArray($resp)); return $ret; }
/** * Service Call: ExecuteCheckoutOperations * @param ExecuteCheckoutOperationsReq $executeCheckoutOperationsReq * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return PayPalAPI\ExecuteCheckoutOperationsResponseType * @throws APIException */ public function ExecuteCheckoutOperations($executeCheckoutOperationsReq, $apiCredential = NULL) { $this->setStandardParams($executeCheckoutOperationsReq->ExecuteCheckoutOperationsRequest); $ret = new ExecuteCheckoutOperationsResponseType(); $resp = $this->call('PayPalAPIAA', 'ExecuteCheckoutOperations', $executeCheckoutOperationsReq, $apiCredential); $ret->init(PPUtils::xmlToArray($resp)); return $ret; }