namespace ApiTerceiroSimulador.Models.OpenDelivery
{
    public class Fee
    {
        /// <summary>
        /// Name related to the other fees.
        /// </summary>
        public required string Name { get; set; }

        public required string Type { get; set; } = FeeTypes.DeliveryFee; // "DELIVERY_FEE",

        public required string ReceivedBy { get; set; } = FeeReceivedByTypes.Marketplace; // "MARKETPLACE",

        /// <summary>
        /// Mandatory for marketplace.
        /// </summary>
        public string? ReceiverDocument { get; set; }

        /// <summary>
        /// The fee price
        /// </summary>
        public required PriceCurrency Price { get; set; }
        
        /// <summary>
        /// Any extra comments.
        /// </summary>
        public string? Observation { get; set; }
    }
}
