Inheritance: extends PayPal\EBLBaseComponents\AbstractResponseType
コード例 #1
0
 /**
  * Service Call: DoNonReferencedCredit
  * @param DoNonReferencedCreditReq $doNonReferencedCreditReq
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically
  * @return PayPalAPI\DoNonReferencedCreditResponseType
  * @throws APIException
  */
 public function DoNonReferencedCredit($doNonReferencedCreditReq, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $this->setStandardParams($doNonReferencedCreditReq->DoNonReferencedCreditRequest);
     $ret = new DoNonReferencedCreditResponseType();
     $resp = $this->call('PayPalAPIAA', 'DoNonReferencedCredit', $doNonReferencedCreditReq, $apiContext, $handlers);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }
 /**
  * Service Call: DoNonReferencedCredit
  * @param DoNonReferencedCreditReq $doNonReferencedCreditReq
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return PayPalAPI\DoNonReferencedCreditResponseType
  * @throws APIException
  */
 public function DoNonReferencedCredit($doNonReferencedCreditReq, $apiCredential = NULL)
 {
     $this->setStandardParams($doNonReferencedCreditReq->DoNonReferencedCreditRequest);
     $ret = new DoNonReferencedCreditResponseType();
     $resp = $this->call('PayPalAPIAA', 'DoNonReferencedCredit', $doNonReferencedCreditReq, $apiCredential);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }