private ExpenseTypeJSON Map_ExpenseTypeDTO_To_JSON(IExpenseType expenseTypeDTO) { return(new ExpenseTypeJSON() { Type = expenseTypeDTO.Type, TypeId = expenseTypeDTO.TypeId }); }
public ExpenseTypeViewModel MapExpenseTypeDTOToViewModel(IExpenseType expenseTypesDTO) { return(new ExpenseTypeViewModel() { TypeId = expenseTypesDTO.TypeId, Type = expenseTypesDTO.Type }); }
public DiscountCap(IExpenseType type) { CapType = type; }
public ProductModifiersBuilder WithCap(IExpenseType type) { this.DiscountCap = new DiscountCap(type); return(this); }
public static IExpense GetExpense(string name, IExpenseType type) => new Expense(name, type);
public Expense(string name, IExpenseType costType) { Name = name; ExpenseType = costType; }