added jsdoc info to getReferralByPayload function
This commit is contained in:
parent
943a17f8df
commit
bdfdeac58d
1 changed files with 11 additions and 0 deletions
|
|
@ -1371,6 +1371,17 @@ export const useMainStore = defineStore({
|
||||||
}, (error) => reject(error));
|
}, (error) => reject(error));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* @function getCookieValueByName
|
||||||
|
* @param {object} payload
|
||||||
|
* referralNumber: the sv2 referral's referralNumber
|
||||||
|
* responseDate: the sv2 referral's referralDate or the responseDate associated with the returned duplicate-check record
|
||||||
|
* parentAccountNumber: the client's parentAccountNumber associated with the sv2 referral
|
||||||
|
* correlationId: the correlationId associated with the sv2 referral
|
||||||
|
* @summary
|
||||||
|
* Gets cookie value by name, returns empty string if not found.
|
||||||
|
* @returns {object} returns the response object for the load session api, which returns the sv2 referral information
|
||||||
|
*/
|
||||||
async getReferralByPayload(payload) {
|
async getReferralByPayload(payload) {
|
||||||
return await globalMethods.callHttpClient({
|
return await globalMethods.callHttpClient({
|
||||||
method: endpoints.LoadSession.method,
|
method: endpoints.LoadSession.method,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue