done with check transaction_id on repayment

This commit was merged in pull request #14.
This commit is contained in:
2025-04-16 10:38:39 +01:00
parent a8f32fdf68
commit e75a025dab
5 changed files with 50 additions and 8 deletions
+10
View File
@@ -0,0 +1,10 @@
from app.models import Repayment
class RepaymentService:
@staticmethod
def get_repayment_by_transaction_id(transaction_id):
"""
Get the repayment by transaction ID
"""
return Repayment.get_repayment_by_transaction_id(transaction_id)