terminals¶
terminals.card_declined¶
-
exception
lsserver.terminals.terminal.
TerminalCardDeclined
(message) Bases:
lscore.errors.server_errors.UnexpectedError
,lsserver.terminals.terminal.TerminalError
HTTP code: 500 Internal Server ErrorLocalized Key: terminals.card_declinedExample: The card was declined: None-
type
= 'terminals.card_declined'
-
localizable_message
= <LocalizableMessage key='terminals.card_declined' ...>
-
terminals.duplicate_terminal¶
-
exception
lsserver.terminals.terminal.
TermainalDuplicationError
(port=None, ip=None, terminal_id=None, item_type=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.terminals.terminal.TerminalError
HTTP code: 403 ForbiddenLocalized Key: terminals.duplicate_terminalExample: Cannot duplicate an existing terminal. port=”None”, ip=”None”, terminal_id=”None”, item_type=None-
type
= 'terminals.duplicate_terminal'
-
localizable_message
= <LocalizableMessage key='terminals.duplicate_terminal' ...>
-
terminals.invalid_source¶
-
exception
lsserver.terminals.terminal.
TerminalInvalidSourceError
(source=None, source_id=None) Bases:
lscore.errors.server_errors.NotFound
,lsserver.terminals.terminal.TerminalError
HTTP code: 404 Not FoundLocalized Key: terminals.invalid_sourceExample: Invalid payment source. Source type=”None”, id=”None”-
type
= 'terminals.invalid_source'
-
localizable_message
= <LocalizableMessage key='terminals.invalid_source' ...>
-
terminals.operation_not_supported¶
-
exception
lsserver.terminals.terminal.
TerminalOperationNotSupported
Bases:
lscore.errors.server_errors.UnexpectedError
,lsserver.terminals.terminal.TerminalError
HTTP code: 500 Internal Server ErrorLocalized Key: terminals.operation_not_supportedExample: The terminal does not support this operation.-
type
= 'terminals.operation_not_supported'
-
localizable_message
= <LocalizableMessage key='terminals.operation_not_supported' ...>
-
terminals.unacceptable_port¶
-
exception
lsserver.terminals.terminal.
TerminalUnacceptablePortError
(port, reason=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.terminals.terminal.TerminalError
HTTP code: 400 Bad RequestLocalized Key: terminals.unacceptable_portExample: Unacceptable port[None] used for terminal. None-
type
= 'terminals.unacceptable_port'
-
localizable_message
= <LocalizableMessage key='terminals.unacceptable_port' ...>
-