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