getCUWOContextInformation
The getCUWOContextInformation
method is used to provide the CUWO with information about the context it rus in.
The method is defined as:
/**
* Returns information about the context the CUWO is executed in.
*/
public getCUWOContextInformation() : string<CUWOContextInformation>
The return value is a string
holding the NFON-serialization of a subtype CUWOContextInformation
structure.
The structure is defined as:
/**
* Information about the context a CUWO is executed in.
*/
class CUWOContextInformation {
readonly "@type" : string = "n4.cuwo.CUWOContextInformation";
/**
* Information about the organization the CUWO is executed for.
*/
public organization : OrganizationInfo;
/**
* Information about the POS location the CUWO is executed at.
*/
public posLocation : POSLocationReference;
/**
* Information about the device the CUWO is executed on.
*/
public device : DeviceReference
/**
* Information about the cash register the CUWO is executed on.
*/
public cashRegister? : CashRegisterReference
/**
* Information about the staff member the CUWO is executed by.
*/
public staffMember? : StaffMemberReference
/**
* The languages that the client UI uses. This can be used by the cuwo
* implementation to provide localized texts matching the client languaue.
*
* The first language is the prefered language. Additional languages are
* fallbacks, sorted by priority. The items in the lists are "language tags"
* (see https://www.w3.org/TR/ltli/#dfn-language-tag).
*/
public clientLanguages? : List<String>;
}