credit transfer device

Vars | |
active_transaction | Safety thing to prevent other tasks from occurring during a transaction. |
---|---|
amount | The price set by the owner of the machine. |
tip | The proportion of the given price to be added on as a tip, from 0 to 1. |
transaction_count | The number of transfers the machine has processed. |
transaction_limit | Maximum amount of credits a single transaction can move. |
Procs | |
authenticate_card | Checks that the scanned card's PIN was entered correctly and that it exists on the database. |
register_owner | Registers mob/user as the owner of the device. |
Var Details
active_transaction

Safety thing to prevent other tasks from occurring during a transaction.
amount

The price set by the owner of the machine.
tip

The proportion of the given price to be added on as a tip, from 0 to 1.
transaction_count

The number of transfers the machine has processed.
transaction_limit

Maximum amount of credits a single transaction can move.
Proc Details
authenticate_card
Checks that the scanned card's PIN was entered correctly and that it exists on the database.
register_owner
Registers mob/user as the owner of the device.