public OverLimitDetailsSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager) : base("OverLimitDetails") { _restClient = restClient; _cacheManager = cacheManager; }
public GetVendorCouponSerializeAction(ICheckoutRestClient checkoutRestClient, string tenderCode) : base("GetVendorCoupon") { _checkoutRestClient = checkoutRestClient; _tenderCode = tenderCode; }
public CancelTenderSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string transactionType) : base("CancelTender") { _restClient = restClient; _cacheManager = cacheManager; _transactionType = transactionType; }
public GetTreatyNameSerializeAction(ICheckoutRestClient restClient, string treatyNumber, string captureMethod) : base("GetTreatyName") { _restClient = restClient; _treatyNumber = treatyNumber; _captureMethod = captureMethod; }
public CompleteOverrideLimitSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager) : base("CompleteOverrideLimit") { _restClient = restClient; _cacheManager = cacheManager; }
public ValidateQiteSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager, string bandMember) : base("ValidateQite") { _restClient = restClient; _cacheManager = cacheManager; _bandMember = bandMember; }
public CompletePaymentSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string transactionType, bool issueStoreCredit) : base("CompletePayment") { _restClient = restClient; _cacheManager = cacheManager; _transactionType = transactionType; _issueStoreCredit = issueStoreCredit; }
public GstPstTaxExemptSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager, string treatyNumber) : base("GstPstTaxExempt") { _restClient = restClient; _cacheManager = cacheManager; _treatyNumber = treatyNumber; }
public AffixBarcodeSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager, string cardNumber, string barCode) : base("AffixBarcode") { _restClient = restClient; _cacheManager = cacheManager; _cardNumber = cardNumber; _barCode = barCode; }
public ValidateAITESerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string cardNumber, string barcode, bool isCardNumber) : base("ValidateAITE") { _restClient = restClient; _cacheManager = cacheManager; _cardNumber = cardNumber; _barCode = barcode; _isCardNumber = isCardNumber; }
public SaveSignatureSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, Uri image) : base("SaveSignature") { _restClient = restClient; _cacheManager = cacheManager; _image = image; _saveSignature = new SaveSignature { encodedImage = image.AbsoluteUri }; }
public ValidateSiteSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string treatyNumber, int captureMethod, string treatyName, string documentNumber) : base("ValidateSite") { _restClient = restClient; _cacheManager = cacheManager; _treatyNumber = treatyNumber; _treatyName = treatyName; _documentNumber = documentNumber; _captureMethod = captureMethod; }
public FNGTRSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string phoneNumber) : base("FNGTR") { _restClient = restClient; _fNGTRContract = new FNGTRContract { phoneNumber = phoneNumber, registerNumber = cacheManager.RegisterNumber, saleNumber = cacheManager.SaleNumber, tillNumber = cacheManager.TillNumber }; }
public CompleteOverLimitsSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager, string reason, string explanation, string location, DateTime date) : base("CompleteOverLimits") { _restClient = restClient; _cacheManager = cacheManager; _reason = reason; _explanation = explanation; _location = location; _date = date; }
public CardSwipeSerializeAction(ICheckoutRestClient checkoutRestClient, ICacheManager cacheManager, string cardNumber, string transactionType) : base("SwipeCard") { _cacheManager = cacheManager; _restClient = checkoutRestClient; _cardSwipe = new CardSwipeContract { cardNumber = cardNumber, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, transactionType = transactionType }; }
public PaymentByVendorCouponSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string tenderCode) : base("PaymentByVendorCoupon") { _restClient = restClient; _cacheManager = cacheManager; _paymentByVendorCouponContract = new PaymentByVendorCouponContract { saleNumber = _cacheManager.SaleNumber, tenderCode = tenderCode, tillNumber = _cacheManager.TillNumber }; }
public UpdateTenderSerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager, string code, decimal?amount, string transactionType, bool isAmountEnteredManually) : base("UpdateTender") { _restClient = restClient; _cacheManager = cacheManager; _code = code; _amount = amount; _transactionType = transactionType; _isAmountEnteredManually = isAmountEnteredManually; }
public OverrideLimitOverrideSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string item, string overrideCode, string documentNumber, string documentDetail) : base("OverrideLimitOverride") { _restClient = restClient; _cacheManager = cacheManager; _item = item; _overrideCode = overrideCode; _documentNumber = documentNumber; _documentDetail = documentDetail; }
public PaymentByGivexSerializeAction(ICheckoutRestClient checkoutRestClient, ICacheManager cacheManager, string cardNumber, decimal?amount, string transactionType, string tenderCode) : base("SaveGivexPayment") { _checkoutRestClient = checkoutRestClient; _cacheManager = cacheManager; _givexPaymentContract = new GivexPaymentContract { saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, tenderCode = tenderCode, amount = amount.HasValue ? amount.Value.ToString(CultureInfo.InvariantCulture) : null, givexCardNumber = cardNumber, transactionType = transactionType }; }
public PaymentByCouponSerializeAction(ICheckoutRestClient checkoutRestClient, ICacheManager cacheManager, string couponCode, string tenderCode) : base("PaymentByCoupon") { _checkoutRestClient = checkoutRestClient; _cacheManager = cacheManager; _couponContract = new CouponContract { saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, transactionType = "Sale", couponNumber = couponCode, tenderCode = tenderCode, blTillClose = false }; }
public RemoveVendorCouponSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string tenderCode, string couponNumber) : base("AddVendorCouponSerializeAction") { _restClient = restClient; _cacheManager = cacheManager; _removeVendorCouponContract = new RemoveVendorCouponContract { couponNumber = couponNumber, saleNumber = _cacheManager.SaleNumber, tenderCode = tenderCode, tillNumber = _cacheManager.TillNumber }; }
public SaleSummarySerializeAction( ICheckoutRestClient restClient, ICacheManager cacheManager, bool isAiteValidated, bool isSiteValidated, double?kickBackAmount) : base("SaleSummary") { _restClient = restClient; _cacheManager = cacheManager; _kickBackAmount = kickBackAmount; _saleSummaryContract = new SaleSummaryContract { isAiteValidated = isAiteValidated, isSiteValidated = isSiteValidated, registerNumber = _cacheManager.RegisterNumber, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber }; }
public PaymentByCardSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string tenderCode, string amountUsed, string transactionType, string cardNumber, string poNumber = "") : base("PaymentByCard") { _restClient = restClient; _cacheManager = cacheManager; _paymentContract = new PaymentContract { tenderCode = tenderCode, transactionType = transactionType, amountUsed = amountUsed, cardNumber = cardNumber, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, poNumber = poNumber }; }
public VerifyByAccountSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string transactionType, bool tillClose, string tenderCode, decimal?amountEntered) : base("VerifyByAccount") { _restClient = restClient; _cacheManager = cacheManager; _verifyByAccountContract = new VerfifyByAccountContract { saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, tillClose = tillClose, transactionType = transactionType, tender = new AccountTenderContract { amountEntered = amountEntered.HasValue ? amountEntered.Value.ToString(CultureInfo.InvariantCulture) : null, tenderCode = tenderCode } }; }
public SaveProfilePromptSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string cardNumber, string profileId, Dictionary <string, string> prompts) : base("SaveProfilePrompt") { _restClient = restClient; _cacheManager = cacheManager; _paymentByFleetContract = new PaymentByFleetContract { cardNumber = cardNumber, profileId = profileId, prompts = (from p in prompts select new PromptContract { promptAnswer = p.Value, promptMessage = p.Key }).ToList(), saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber }; }
public PaymentByAccountSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager, string purchaseOrder, bool overrideARLimit, string transactionType, bool tillClose, string tenderCode, decimal?amountEntered) : base("PaymentByAccount") { _restClient = restClient; _cacheManager = cacheManager; _paymentByAccountContract = new PaymentByAccountContract { overrideArLimit = overrideARLimit, purchaseOrder = purchaseOrder, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, tillClose = tillClose, transactionType = transactionType, tender = new PaymentByAccountTender { amountEntered = amountEntered.HasValue ? amountEntered.Value.ToString(CultureInfo.InvariantCulture): null, tenderCode = tenderCode } }; }
public PaymentByPumpTestSerializeAction(ICheckoutRestClient checkoutRestClient, ICacheManager cacheManager) : base("PaymentByPumpTest") { _checkoutRestClient = checkoutRestClient; _cacheManager = cacheManager; }
public TaxExemptVerificationSerializeAction(ICheckoutRestClient restClient, ICacheManager cacheManager) : base("TaxExemptVerification") { _cacheManager = cacheManager; _restClient = restClient; }
public VerifyMultiPOSerializeAction(ICheckoutRestClient restClient, string purchaseOrder) : base("VerifyMultiPO") { _restClient = restClient; _purchaseOrder = purchaseOrder; }
/// <summary> /// Constructor /// </summary> /// <param name="restClient">Checkout Rest client</param> /// <param name="cacheManager">Cache manager</param> public CheckoutSerializeManager(ICheckoutRestClient restClient, ICacheManager cacheManager) { _restClient = restClient; _cacheManager = cacheManager; }