コード例 #1
0
 public SetPrepayOrPostpaySerializeAction(IMaintenanceRestClient maintenanceRestClient,
                                          bool isOn, bool isPrepay) : base("SetPrepayOrPostpay")
 {
     _maintenanceRestClient = maintenanceRestClient;
     _isOn     = isOn;
     _isPrepay = isPrepay;
 }
コード例 #2
0
 public ChangePasswordSerializeAction(
     IMaintenanceRestClient maintenanceRestClient,
     ICacheManager cacheManager,
     string password,
     string confirmPassword) :
     base("ChangePassword")
 {
     _maintenanceRestClient = maintenanceRestClient;
     _cacheManager          = cacheManager;
     _password        = password;
     _confirmPassword = confirmPassword;
 }
コード例 #3
0
 public CloseBatchSerializeAction(IMaintenanceRestClient maintenanceRestClient,
                                  ICacheManager cacheManager)
     : base("CloseBatch")
 {
     _maintenanceRestClient = maintenanceRestClient;
     _closeBatchContract    = new CloseBatchContract
     {
         posId          = cacheManager.LoginPolicies.PosID,
         registerNumber = cacheManager.RegisterNumber,
         saleNumber     = cacheManager.SaleNumber,
         tillNumber     = cacheManager.TillNumber
     };
 }
コード例 #4
0
 public MaintenanceSeralizeManager(IMaintenanceRestClient restClient,
                                   ICacheManager cacheManager)
 {
     _restClient   = restClient;
     _cacheManager = cacheManager;
 }