accesscodes.interfaces – AC Interfaces

Interfaces of access code related components.

interface waeup.kofa.accesscodes.interfaces.IAccessCode[source]

Extends: waeup.kofa.interfaces.IKofaObject

An access code.

batch_num

Batch number

state

Workflow state

batch_serial

Serial number inside batch

random_num

Random part of access code

cost

Cost of access code

owner

Purchaser

representation

Complete title of access code

history

The history of access code as lines

batch_prefix

Prefix inside batch

interface waeup.kofa.accesscodes.interfaces.IAccessCodeBatch[source]

A factory for batches of access codes.

cost

Cost of access code

creator

Batch creator

used_num

Number of used access codes inside the batch

entry_num

Number of access codes

disabled_num

Number of disabled access codes inside the batch

creation_date

Creation date

prefix

Batch prefix

num

Batch number (1-3 digits)

interface waeup.kofa.accesscodes.interfaces.IAccessCodeBatchContainer[source]

Extends: waeup.kofa.interfaces.IKofaObject

A container for access code batches.

addBatch(batch)

Add a batch.