Пример #1
0
 public Notification(string restaurantId, string type, Contact contact, int durationMins)
 {
     this.restaurantId = restaurantId;
     this.type = type;
     this.contact = contact;
     this.durationMins = durationMins;
 }
Пример #2
0
 public Order(string id, IDictionary<string, string> externalIds, string restaurantId, string locale,
     IList<OrderItem> orderItems, string comment, int price, Delivery delivery, Contact contact, IList<Payment> payments,
     int takeoutPacks, IList<Charge> charges, long created, long received, long modified, long submitAt,
     User user, ClubMember clubMember, string status, string shareToken, string affiliate,
     string source, string platform, bool legacyHierarchy, IDictionary<string, string> properties, IList<LogEntry> log)
 {
     this.id = id;
     this.externalIds = externalIds;
     this.restaurantId = restaurantId;
     this.locale = locale;
     this.orderItems = orderItems;
     this.comment = comment;
     this.price = price;
     this.delivery = delivery;
     this.contact = contact;
     this.payments = payments;
     this.takeoutPacks = takeoutPacks;
     this.charges = charges;
     this.created = created;
     this.received = received;
     this.modified = modified;
     this.submitAt = submitAt;
     this.user = user;
     this.clubMember = clubMember;
     this.status = status;
     this.shareToken = shareToken;
     this.affiliate = affiliate;
     this.source = source;
     this.platform = platform;
     this.legacyHierarchy = legacyHierarchy;
     this.properties = properties;
     this.log = log;
 }
Пример #3
0
 public CContact(Contact contact)
 {
     this.contact = contact;
 }