using GB5Shared.DTO.Framework.Login; using GoodBooks.PAY.PAYDAL.DTO.Gateway; namespace GoodBooks.PAY.PAYBLL.Checkout { public interface ICheckoutConfigBLL { Task GetCheckoutConfig(int checkoutConfigId, LoginDTO login, CancellationToken ct); /// /// Returns the active checkout configuration for the current tenant. /// Used at checkout initiation to determine COD availability, partial-pay options, /// order expiry window, and the default gateway. /// Task GetCheckoutConfigForTenant(LoginDTO login, CancellationToken ct); Task SaveCheckoutConfig(CheckoutConfigDTO dto, LoginDTO login, CancellationToken ct); } }