/** * Service Call: GetBillingAgreementCustomerDetails * * @param GetBillingAgreementCustomerDetailsReq $getBillingAgreementCustomerDetailsReq * * @return GetBillingAgreementCustomerDetailsResponseType * @throws APIException */ public function GetBillingAgreementCustomerDetails($getBillingAgreementCustomerDetailsReq, $apiUsername = null) { $this->setStandardParams($getBillingAgreementCustomerDetailsReq->GetBillingAgreementCustomerDetailsRequest); $ret = new GetBillingAgreementCustomerDetailsResponseType(); $resp = $this->call("GetBillingAgreementCustomerDetails", $getBillingAgreementCustomerDetailsReq, $apiUsername); $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 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; }
/** * 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 GetBillingAgreementCustomerDetailsResponseType * @throws APIException */ public function GetBillingAgreementCustomerDetails($getBillingAgreementCustomerDetailsReq, $apiCredential = NULL) { $this->setStandardParams($getBillingAgreementCustomerDetailsReq->GetBillingAgreementCustomerDetailsRequest); $apiContext = new PPApiContext($this->config); $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION)); $ret = new GetBillingAgreementCustomerDetailsResponseType(); $resp = $this->call('PayPalAPIAA', 'GetBillingAgreementCustomerDetails', $getBillingAgreementCustomerDetailsReq, $apiContext, $handlers); $ret->init(PPUtils::xmlToArray($resp)); return $ret; }