public override void MakePayment() { Copier.ResponseWriter($"Payment successfully processed.{Environment.NewLine}"); Copier.CopierState = new ChoosingDevice(Copier); }
public override void PrintDocument() { Copier.ResponseWriter($"Document printed successfully.{Environment.NewLine}"); Copier.CopierState = new ChoosingDocument(Copier); }
public override void ReturnChange() { Copier.ResponseWriter($"Change returned successfully.{Environment.NewLine}"); Copier.CopierState = new WaitingForPayment(Copier); }
public override void ChooseDocument() { Copier.ResponseWriter($"Document chosen successfully.{Environment.NewLine}"); Copier.CopierState = new PrintingDocument(Copier); }