コード例 #1
0
 /**
  * Service Call: ManagePendingTransactionStatus
  *
  * @param ManagePendingTransactionStatusReq $managePendingTransactionStatusReq
  *
  * @return ManagePendingTransactionStatusResponseType
  * @throws APIException
  */
 public function ManagePendingTransactionStatus($managePendingTransactionStatusReq, $apiUsername = null)
 {
     $this->setStandardParams($managePendingTransactionStatusReq->ManagePendingTransactionStatusRequest);
     $ret = new ManagePendingTransactionStatusResponseType();
     $resp = $this->call("ManagePendingTransactionStatus", $managePendingTransactionStatusReq, $apiUsername);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }
 /**
  * Service Call: ManagePendingTransactionStatus
  * @param ManagePendingTransactionStatusReq $managePendingTransactionStatusReq
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return ManagePendingTransactionStatusResponseType
  * @throws APIException
  */
 public function ManagePendingTransactionStatus($managePendingTransactionStatusReq, $apiCredential = NULL)
 {
     $this->setStandardParams($managePendingTransactionStatusReq->ManagePendingTransactionStatusRequest);
     $ret = new ManagePendingTransactionStatusResponseType();
     $resp = $this->call('PayPalAPIAA', 'ManagePendingTransactionStatus', $managePendingTransactionStatusReq, $apiCredential);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }
コード例 #3
0
 /**
  * Service Call: ManagePendingTransactionStatus
  * @param ManagePendingTransactionStatusReq $managePendingTransactionStatusReq
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return ManagePendingTransactionStatusResponseType
  * @throws APIException
  */
 public function ManagePendingTransactionStatus($managePendingTransactionStatusReq, $apiCredential = NULL)
 {
     $this->setStandardParams($managePendingTransactionStatusReq->ManagePendingTransactionStatusRequest);
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new ManagePendingTransactionStatusResponseType();
     $resp = $this->call('PayPalAPIAA', 'ManagePendingTransactionStatus', $managePendingTransactionStatusReq, $apiContext, $handlers);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }