Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

MP_Addon_Netsuite_REST::token_url()

Netsuite get or update token URL.


Return Return

(string) $url


Top ↑

Source Source

File: calculator-netsuite-add-on/inc/MP_Addon_Netsuite_REST.php

	private function token_url() {

		$account_id = get_option( MortgagePlatform::$prefix . 'netsuite' )['netsuite_account_id'];

		if(!empty($account_id)){
			$url = 'https://'.$account_id.'/suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token';

			return $url;
		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.