cic-internal-integration/apps/cic-ussd/cic_ussd/state_machine/logic/sms.py

23 lines
761 B
Python
Raw Normal View History

2021-02-06 16:13:47 +01:00
# standard imports
import logging
from typing import Tuple
# local imports
2021-04-19 10:44:40 +02:00
from cic_ussd.db.models.account import Account
2021-02-06 16:13:47 +01:00
logg = logging.getLogger()
2021-04-19 10:44:40 +02:00
def send_terms_to_user_if_required(state_machine_data: Tuple[str, dict, Account]):
2021-06-29 12:49:25 +02:00
user_input, ussd_session, user, session = state_machine_data
2021-02-06 16:13:47 +01:00
logg.debug('Requires integration to cic-notify.')
2021-04-19 10:44:40 +02:00
def process_mini_statement_request(state_machine_data: Tuple[str, dict, Account]):
2021-06-29 12:49:25 +02:00
user_input, ussd_session, user, session = state_machine_data
2021-02-06 16:13:47 +01:00
logg.debug('Requires integration to cic-notify.')
2021-04-19 10:44:40 +02:00
def upsell_unregistered_recipient(state_machine_data: Tuple[str, dict, Account]):
2021-06-29 12:49:25 +02:00
user_input, ussd_session, user, session = state_machine_data
2021-02-06 16:13:47 +01:00
logg.debug('Requires integration to cic-notify.')