PDF Generate Data#

Handler of generating PDF-data#

Module for generate PDF-system documents.

class pdf_generate_data.GenerateReceiptForUser[source]#

Class for generate a receipt to the user.

async static generate(name, receipt_data)[source]#

Generate Receipt-data.

Parameters:
  • name (str) – Name.

  • receipt_data (str) – Receipt Data.

Returns:

Title of file.

Return type:

str

class pdf_generate_data.GenerateReceiptRefundForUser[source]#

Class for generate a receipt to the user for refund.

async static generate(name, receipt_data)[source]#

Generate Receipt-data.

Parameters:
  • name (str) – Name.

  • receipt_data (str) – Receipt Data.

Returns:

Title of file.

Return type:

str

class pdf_generate_data.GenerateTicketDataUniversal[source]#

Class for generate ticket-data for any users.

async static generate(name, text_data)[source]#

Generate ticket-data.

Parameters:
  • name (str) – Name.

  • text_data (str) – Ticket Data (big-format).

Returns:

Title of file.

Return type:

str