/** * Service Call: PaymentDetails * @param PaymentDetailsRequest $paymentDetailsRequest * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return PaymentDetailsResponse * @throws APIException */ public function PaymentDetails($paymentDetailsRequest, $apiCredential = NULL) { $ret = new PaymentDetailsResponse(); $resp = $this->call('AdaptivePayments', 'PaymentDetails', $paymentDetailsRequest, $apiCredential); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }
/** * Service Call: PaymentDetails * @param PaymentDetailsRequest $paymentDetailsRequest * @return PaymentDetailsResponse * @throws APIException */ public function PaymentDetails($paymentDetailsRequest, $apiUsername = null) { $ret = new PaymentDetailsResponse(); $resp = $this->call("PaymentDetails", $paymentDetailsRequest, $apiUsername); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }
/** * Service Call: PaymentDetails * @param PaymentDetailsRequest $paymentDetailsRequest * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return PaymentDetailsResponse * @throws APIException */ public function PaymentDetails($paymentDetailsRequest, $apiCredential = NULL) { $apiContext = new PPApiContext($this->config); $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION)); $ret = new PaymentDetailsResponse(); $resp = $this->call('AdaptivePayments', 'PaymentDetails', $paymentDetailsRequest, $apiContext, $handlers); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }