from httpmessageprocessorutil.automapped import auto_map


@auto_map({
    "system_api_key": {"name": "X-Api-Key", "location": "header", "type": str},
    "pos_id": {"name": "posId", "type": str}
})
class CancelCurrentTransactionRequest(object):
    def __init__(
        self,                   # type: CancelCurrentTransactionRequest
        system_api_key,         # type: str
        pos_id,                 # type: str
    ):
        # type: (...) -> None

        self.system_api_key = system_api_key
        self.pos_id = pos_id
