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