Example #1
0
 public override void Price()
 {
     if (!input.IsEmpty)
     {
         Quantity();
     }
     cr.State = EnterUnitPrice.Instance();
 }
Example #2
0
 public override void Price()
 {
     if (cr.IsAuthorisedFor(Authorizations.LabelAmountChanging))
     {
         cr.State = EnterUnitPrice.Instance();
     }
     else
     {
         throw new CashierAutorizeException();
     }
 }