payment_method¶
payment_method.deleting_builtin¶
-
exception
lsserver.setup.payment_method.
DeletingBuiltinError
Bases:
lscore.errors.server_errors.Forbidden
,lsserver.setup.payment_method.PaymentMethodError
HTTP code: 403 ForbiddenLocalized Key: payment_method.deleting_builtinExample: Cannot delete built-in payment method.-
type
= 'payment_method.deleting_builtin'
-
localizable_message
= <LocalizableMessage key='payment_method.deleting_builtin' ...>
-
payment_method.editing_builtin¶
-
exception
lsserver.setup.payment_method.
ChangingBuiltinError
(message) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.setup.payment_method.PaymentMethodError
HTTP code: 403 ForbiddenLocalized Key: payment_method.editing_builtinExample: Cannot edit name or type of builtin payment method: None-
type
= 'payment_method.editing_builtin'
-
localizable_message
= <LocalizableMessage key='payment_method.editing_builtin' ...>
-
payment_method.invalid_name¶
-
exception
lsserver.setup.payment_method.
InvalidNameError
(new_name) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.setup.payment_method.PaymentMethodError
HTTP code: 403 ForbiddenLocalized Key: payment_method.invalid_nameExample: Invalid payment method name (None). Cannot be empty string or None-
type
= 'payment_method.invalid_name'
-
localizable_message
= <LocalizableMessage key='payment_method.invalid_name' ...>
-
payment_method.negative_print_count¶
-
exception
lsserver.setup.payment_method.
NegativePrintCountError
(count) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.setup.payment_method.PaymentMethodError
HTTP code: 403 ForbiddenLocalized Key: payment_method.negative_print_countExample: The print receipt count must be 0 or greater, {u’count’: u’None’} given.-
type
= 'payment_method.negative_print_count'
-
localizable_message
= <LocalizableMessage key='payment_method.negative_print_count' ...>
-