MoreThanOneTicketOrders.proto 978 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. syntax = "proto3";
  2. option csharp_namespace = "XYY.gRpc.Order";
  3. package order;
  4. service MoreThanOneTicketOrders{
  5. rpc Create(MTOROrderRequest) returns(MTOTOrderResult);
  6. }
  7. message MTOROrderRequest{
  8. string customerOrderNo = 1;
  9. string name = 2;
  10. string channelName = 3;
  11. int32 channelId = 4;
  12. string countryCode = 5;
  13. string state = 6;
  14. string city = 7;
  15. string stree = 8;
  16. string zipCode = 9;
  17. string phone=10;
  18. repeated MTOROrderRequestBox boxs = 11;
  19. int32 customerId=12;
  20. int32 weight=13;
  21. int32 draftOrderId=14;
  22. int32 mpsOrderId=15;
  23. string receiverCompany=16;
  24. string receiverEmail=17;
  25. }
  26. message MTOROrderRequestBox{
  27. string boxNumber = 1;
  28. double length = 2;
  29. double width = 3;
  30. double height = 4;
  31. double weight = 5;
  32. int32 boxId=6;
  33. }
  34. message MTOTOrderResult{
  35. string trackingNumber = 1;
  36. string customerOrderno = 2;
  37. string labelPath=3;
  38. repeated MTOTOrderResultBox Boxs = 4;
  39. }
  40. message MTOTOrderResultBox{
  41. string boxNumber = 1;
  42. string trackingNumber = 2;
  43. }