payment_method

payment_method.deleting_builtin

  • Attribute: lsserver.core.localizations.keys.PAYMENT_METHOD_DELETING_BUILTIN_ERROR
  • Example Message: Cannot delete built-in payment method.

payment_method.editing_builtin

  • Attribute: lsserver.core.localizations.keys.PAYMENT_METHOD_EDITING_BUILTIN_ERROR
  • Fields: message
  • Example Message: Cannot edit name or type of builtin payment method: %(message)s
  • Doc: Cannot edit name or type of builtin payment method: None

payment_method.invalid_name

  • Attribute: lsserver.core.localizations.keys.PAYMENT_METHOD_INVALID_NAME
  • Fields: name
  • Example Message: Invalid payment method name (%(name)s). Cannot be empty string or None
  • Doc: Invalid payment method name (None). Cannot be empty string or None

payment_method.negative_print_count

  • Attribute: lsserver.core.localizations.keys.PAYMENT_METHOD_NEGATIVE_PRINT_COUNT_ERROR
  • Fields: count
  • Example Message: The print receipt count must be 0 or greater, %s given.
  • Doc: The print receipt count must be 0 or greater, {u’count’: u’None’} given.

payment_method.still_in_use

  • Attribute: lsserver.core.localizations.keys.PAYMENT_METHOD_STILL_IN_USE
  • Fields: item_id, item_type, item_id_string
  • Example Message: %(item_type)s “%(item_id_string)s” cannot be deleted as it is in use on one or more documents.
  • Doc: None “None” cannot be deleted as it is in use on one or more documents.