data class MenuContext
(source)
Specifies contextual information for a menu operation. Required context items (aside from the standard API key required for all operations) are the partner code and location code to consider when downloading menu data.
MenuContext(: String? = null, : String? = null)
Specifies contextual information for a menu operation. Required context items (aside from the standard API key required for all operations) are the partner code and location code to consider when downloading menu data. |
fun defaultContext(): MenuContext
Generate a default menu context. This yields to the outer API client to resolve the desired partner and location codes before submitting a request. One way or another they must be defined, or that's an error. |