added jsdoc info to getReferralByPayload function

This commit is contained in:
Bill Richardson 2024-08-16 17:09:36 -04:00
parent 943a17f8df
commit bdfdeac58d

View file

@ -1371,6 +1371,17 @@ export const useMainStore = defineStore({
}, (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) {
return await globalMethods.callHttpClient({
method: endpoints.LoadSession.method,