using Distribution.Models; namespace Distribution.Features.Payment; public record CreatePaymentRequest( decimal Amount, PaymentMethod Method, // TEMPORARY: auth middleware doesn't resolve a logged-in user yet — see testbug.md #28. Guid? CollectedByUserId = null); public record CreateFlatPaymentRequest( Guid SaleId, decimal Amount, PaymentMethod Method, Guid? CollectedByUserId = null); public record PaymentResponse( Guid Id, Guid SaleId, Guid StoreId, decimal Amount, PaymentMethod Method, DateTime CollectedAt, Guid CollectedBy, DateTime CreatedAt);