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