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