MoreThanOneTicketOrders.proto 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. }
  25. message MTOROrderRequestBox{
  26. string boxNumber = 1;
  27. double length = 2;
  28. double width = 3;
  29. double height = 4;
  30. double weight = 5;
  31. int32 boxId=6;
  32. }
  33. message MTOTOrderResult{
  34. string trackingNumber = 1;
  35. string customerOrderno = 2;
  36. string labelPath=3;
  37. repeated MTOTOrderResultBox Boxs = 4;
  38. }
  39. message MTOTOrderResultBox{
  40. string boxNumber = 1;
  41. string trackingNumber = 2;
  42. }