public override MonthlyStatement GenerateStatment(MonthlyUsage monthlyUsage) { var statement = new MonthlyStatement(); statement.TotalCost = 54.90f; return(statement); }
public override MonthlyStatement GenerateStatment(MonthlyUsage monthlyUsage) { var statement = new MonthlyStatement(); statement.CallCost = 0.12f * monthlyUsage.CallMinutes; statement.SmsCost = 0.12f * monthlyUsage.SmsCount; statement.TotalCost = statement.CallCost + statement.SmsCost; return(statement); }
public override MonthlyStatement GenerateStatement(MonthlyUsage monthlyUsage) { var statement = new MonthlyStatement { CallCost = 0.12f*monthlyUsage.CallMinutes, SmsCost = 0.12f*monthlyUsage.SmsCount }; statement.TotalCost = statement.CallCost + statement.SmsCost; return statement; }
public override MonthlyStatement GenerateStatement(MonthlyUsage monthlyUsage) { var statement = new MonthlyStatement {TotalCost = 54.90f}; return statement; }