123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- syntax = "proto3";
- option csharp_namespace = "XYY.gRpc.Order";
- package order;
-
- service MoreThanOneTicketOrders{
- rpc Create(MTOROrderRequest) returns(MTOTOrderResult);
- }
- message MTOROrderRequest{
- string customerOrderNo = 1;
- string name = 2;
- string channelName = 3;
- int32 channelId = 4;
- string countryCode = 5;
- string state = 6;
- string city = 7;
- string stree = 8;
- string zipCode = 9;
- string phone=10;
- repeated MTOROrderRequestBox boxs = 11;
- int32 customerId=12;
- int32 weight=13;
- int32 draftOrderId=14;
- int32 mpsOrderId=15;
- string receiverCompany=16;
- string receiverEmail=17;
- }
- message MTOROrderRequestBox{
- string boxNumber = 1;
- double length = 2;
- double width = 3;
- double height = 4;
- double weight = 5;
- int32 boxId=6;
- }
- message MTOTOrderResult{
- string trackingNumber = 1;
- string customerOrderno = 2;
- string labelPath=3;
- repeated MTOTOrderResultBox Boxs = 4;
- }
- message MTOTOrderResultBox{
- string boxNumber = 1;
- string trackingNumber = 2;
- }
|