"""Logic for pass through transactions.""" from ows_accounting import response from ows_accounting.models import passthrough def get_eq_bonus(account_id, period_id): """Get EQ transaction amount. Args: account_id (str): account id. period_id (str): account period id. Returns: response.Response: EQ bonus info or error. """ return response.Response( passthrough.get_account_eq_bonus(account_id, period_id)) def get_eq_payment_details(account_id, period_id): """Get EQ payment details. Args: account_id (str): account id. period_id (str): account period id. Returns: response.Response: EQ payment details info. """ return response.Response( passthrough.get_account_eq_payment_details(account_id, period_id))