feat: add HasLockedInvoiceAsync method to check invoice status and prevent scheme application

This commit is contained in:
2026-10-22 10:40:43 +05:30
parent e84ce29064
commit fdfca7cf5e
3 changed files with 8 additions and 0 deletions
@@ -11,6 +11,7 @@ public interface ISchemeRepository
Task<List<Models.SchemeRedemption>> GetRedemptionsAsync(Guid schemeId);
Task AddRedemptionAsync(Models.SchemeRedemption entity);
Task<bool> HasRedemptionAsync(Guid schemeId, Guid orderId);
Task<bool> HasLockedInvoiceAsync(Guid shopPOId);
Task<Models.SchemeBundleComponent?> GetBundleComponentAsync(Guid schemeId, Guid itemId);
Task AddBundleComponentAsync(Models.SchemeBundleComponent entity);