public MerchantInfo Clone()
        {
            MerchantInfo info = new MerchantInfo();

            info.Device = Device?.Clone();

            info.merchantID   = merchantID;
            info.merchantName = merchantName;
            info.merchantMId  = merchantMId;

            info.supportsPreAuths      = supportsPreAuths;
            info.supportsVaultCards    = supportsVaultCards;
            info.supportsManualRefunds = supportsManualRefunds;
            info.supportsTipAdjust     = supportsTipAdjust;

            info.supportsRemoteConfirmation  = supportsRemoteConfirmation;
            info.supportsNakedCredit         = supportsNakedCredit;
            info.supportsMultiPayToken       = supportsMultiPayToken;
            info.supportsAcknowledgement     = supportsAcknowledgement;
            info.supportsVoidPaymentResponse = supportsVoidPaymentResponse;
            info.supportsPreAuth             = supportsPreAuth;
            info.supportsAuth      = supportsAuth;
            info.supportsVaultCard = supportsVaultCard;

            return(info);
        }
Ejemplo n.º 2
0
 public void OnDeviceReady(MerchantInfo merchantInfo)
 {
     this.ready = true;
 }
Ejemplo n.º 3
0
 public virtual void OnDeviceReady(MerchantInfo merchantInfo)
 {
 }
 public void OnDeviceReady(MerchantInfo merchantInfo)
 {
     Status = "Ready";
     this.MerchantInfo = merchantInfo;
     Send("/DeviceReady", Serialize(merchantInfo));
 }
 public void OnDeviceReady(MerchantInfo merchantInfo)
 {
     uiThread.Send(delegate (object state) {
         ConnectStatusLabel.Text = "Connected";
         Connected = true;
         if (DisplayOrder.lineItems != null && DisplayOrder.lineItems.elements.Count > 0)
         {
             UpdateDisplayOrderTotals();
         }
         PaymentReset();
     }, null);
 }
 public void OnDeviceReady(MerchantInfo merchantInfo)
 {
     _isReady = true;
 }
 public void OnDeviceReady(MerchantInfo merchantInfo)
 {
     CurrentConnectionStatus = "Ready";
     this.MerchantInfo = merchantInfo;
     OnDeviceReadyMessage message = new OnDeviceReadyMessage();
     message.payload = merchantInfo;
     WebSocket.Send(Serialize(message));
 }