clearer.management.commands package¶
Submodules¶
clearer.management.commands.receive_payment module¶
-
class
clearer.management.commands.receive_payment.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Bases:
django.core.management.base.BaseCommand-
handle(*args, **options)[source]¶ The actual logic of the command. Subclasses must implement this method.
-
help= 'Receive a single payment from clearing'¶
-
clearer.management.commands.routing_daemon module¶
A management command to run a routing daemon to do payments clearing.
-
class
clearer.management.commands.routing_daemon.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Bases:
django.core.management.base.BaseCommand-
QUEUES= {}¶
-
class
RoutingService¶ Bases:
objectProvides a payments routing facility. Takes in a payment packet and make a routing (forwarding) decision on where to send the packet.
Authorise a single payment packet via the settlement module.
-
format_payment(payment)¶ Helper to show payment packet as something more readable.
-
route(payment)¶ Route a single packet by finding its destination interface (BIC).
-
handle(*args, **options)[source]¶ The actual logic of the command. Subclasses must implement this method.
-
help= 'Runs the router for clearing payments'¶
-
clearer.management.commands.send_payment module¶
-
class
clearer.management.commands.send_payment.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Bases:
django.core.management.base.BaseCommand-
handle(*args, **options)[source]¶ The actual logic of the command. Subclasses must implement this method.
-
help= 'Send a single payment to clearing'¶
-