private void send_getProductList(vipapis.common.Warehouse?warehouse_, string schedule_id_, int?channel_id_, int?category_id_, string start_time_, string end_time_, string product_id_, string product_name_, int?sell_price_min_, int?sell_price_max_, double?discount_min_, double?discount_max_, vipapis.product.SortType?sort_type_, vipapis.product.StockShowType?stock_show_type_, int?page_, int?limit_, string cursorMark_) { InitInvocation("getProductList"); getProductList_args args = new getProductList_args(); args.SetWarehouse(warehouse_); args.SetSchedule_id(schedule_id_); args.SetChannel_id(channel_id_); args.SetCategory_id(category_id_); args.SetStart_time(start_time_); args.SetEnd_time(end_time_); args.SetProduct_id(product_id_); args.SetProduct_name(product_name_); args.SetSell_price_min(sell_price_min_); args.SetSell_price_max(sell_price_max_); args.SetDiscount_min(discount_min_); args.SetDiscount_max(discount_max_); args.SetSort_type(sort_type_); args.SetStock_show_type(stock_show_type_); args.SetPage(page_); args.SetLimit(limit_); args.SetCursorMark(cursorMark_); SendBase(args, getProductList_argsHelper.getInstance()); }
private void send_getProductList(string channel_name_, string start_date_, string end_date_) { InitInvocation("getProductList"); getProductList_args args = new getProductList_args(); args.SetChannel_name(channel_name_); args.SetStart_date(start_date_); args.SetEnd_date(end_date_); SendBase(args, getProductList_argsHelper.getInstance()); }
public void getProductList_Process(int seqid, TProtocol iprot, TProtocol oprot) { getProductList_args args = new getProductList_args(); args.Read(iprot); iprot.ReadMessageEnd(); getProductList_result result = new getProductList_result(); try { result.Success = iface_.getProductList(args.ProductIdList, args.Language, args.Country); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getProductList", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getProductList(List<string> productIdList, string language, string country) #endif { oprot_.WriteMessageBegin(new TMessage("getProductList", TMessageType.Call, seqid_)); getProductList_args args = new getProductList_args(); args.ProductIdList = productIdList; args.Language = language; args.Country = country; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }