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