Beispiel #1
0
 public Sender(EndCustomer customer, SenderChannel channel, string currency, int limitId, int bookmakerId, string shopId, string terminalId)
 {
     EndCustomer = customer;
     Channel     = channel;
     Currency    = currency;
     LimitId     = limitId;
     BookmakerId = bookmakerId;
     ShopId      = shopId;
     TerminalId  = terminalId;
 }
Beispiel #2
0
        public Sender(ISender sender)
        {
            Guard.Argument(sender, nameof(sender)).NotNull();

            if (sender.EndCustomer != null)
            {
                EndCustomer = new EndCustomer(sender.EndCustomer);
            }
            Channel     = MtsTicketHelper.Convert(sender.Channel);
            Currency    = sender.Currency;
            LimitId     = sender.LimitId;
            BookmakerId = sender.BookmakerId;
            ShopId      = sender.ShopId;
            TerminalId  = sender.TerminalId;
        }