Exemplo n.º 1
0
 public CashDrawerShift(string id                      = null,
                        string state                   = null,
                        string openedAt                = null,
                        string endedAt                 = null,
                        string closedAt                = null,
                        IList <string> employeeIds     = null,
                        string openingEmployeeId       = null,
                        string endingEmployeeId        = null,
                        string closingEmployeeId       = null,
                        string description             = null,
                        Models.Money openedCashMoney   = null,
                        Models.Money cashPaymentMoney  = null,
                        Models.Money cashRefundsMoney  = null,
                        Models.Money cashPaidInMoney   = null,
                        Models.Money cashPaidOutMoney  = null,
                        Models.Money expectedCashMoney = null,
                        Models.Money closedCashMoney   = null,
                        Models.CashDrawerDevice device = null)
 {
     Id                = id;
     State             = state;
     OpenedAt          = openedAt;
     EndedAt           = endedAt;
     ClosedAt          = closedAt;
     EmployeeIds       = employeeIds;
     OpeningEmployeeId = openingEmployeeId;
     EndingEmployeeId  = endingEmployeeId;
     ClosingEmployeeId = closingEmployeeId;
     Description       = description;
     OpenedCashMoney   = openedCashMoney;
     CashPaymentMoney  = cashPaymentMoney;
     CashRefundsMoney  = cashRefundsMoney;
     CashPaidInMoney   = cashPaidInMoney;
     CashPaidOutMoney  = cashPaidOutMoney;
     ExpectedCashMoney = expectedCashMoney;
     ClosedCashMoney   = closedCashMoney;
     Device            = device;
 }
Exemplo n.º 2
0
 public Builder Device(Models.CashDrawerDevice device)
 {
     this.device = device;
     return(this);
 }
Exemplo n.º 3
0
 public Builder Device(Models.CashDrawerDevice value)
 {
     device = value;
     return(this);
 }