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