コード例 #1
0
 /**
  * Service Call: GetPrePaymentDisclosure
  * @param GetPrePaymentDisclosureRequest $getPrePaymentDisclosureRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return GetPrePaymentDisclosureResponse
  * @throws APIException
  */
 public function GetPrePaymentDisclosure($getPrePaymentDisclosureRequest, $apiCredential = NULL)
 {
     $ret = new GetPrePaymentDisclosureResponse();
     $resp = $this->call('AdaptivePayments', 'GetPrePaymentDisclosure', $getPrePaymentDisclosureRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
コード例 #2
0
 /**
  * Service Call: GetPrePaymentDisclosure
  * @param GetPrePaymentDisclosureRequest $getPrePaymentDisclosureRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return GetPrePaymentDisclosureResponse
  * @throws APIException
  */
 public function GetPrePaymentDisclosure($getPrePaymentDisclosureRequest, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new GetPrePaymentDisclosureResponse();
     $resp = $this->call('AdaptivePayments', 'GetPrePaymentDisclosure', $getPrePaymentDisclosureRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }