update json
This commit is contained in:
@@ -3,26 +3,26 @@ package messages;
|
||||
option go_package = ".;messages";
|
||||
|
||||
message AddRequest {
|
||||
int32 Quantity = 1;
|
||||
string Sku = 2;
|
||||
int32 quantity = 1;
|
||||
string sku = 2;
|
||||
}
|
||||
|
||||
message SetCartRequest {
|
||||
repeated AddRequest Items = 1;
|
||||
repeated AddRequest items = 1;
|
||||
}
|
||||
|
||||
message AddItem {
|
||||
int32 Quantity = 2;
|
||||
int64 Price = 3;
|
||||
int64 OrgPrice = 9;
|
||||
string Sku = 4;
|
||||
string Name = 5;
|
||||
string Image = 6;
|
||||
int32 Stock = 7;
|
||||
int32 Tax = 8;
|
||||
string Disclaimer = 10;
|
||||
string ArticleType = 11;
|
||||
optional string Outlet = 12;
|
||||
int32 quantity = 2;
|
||||
int64 price = 3;
|
||||
int64 orgPrice = 9;
|
||||
string sku = 4;
|
||||
string name = 5;
|
||||
string image = 6;
|
||||
int32 stock = 7;
|
||||
int32 tax = 8;
|
||||
string disclaimer = 10;
|
||||
string articleType = 11;
|
||||
optional string outlet = 12;
|
||||
}
|
||||
|
||||
message RemoveItem {
|
||||
@@ -30,46 +30,46 @@ message RemoveItem {
|
||||
}
|
||||
|
||||
message ChangeQuantity {
|
||||
int64 Id = 1;
|
||||
int32 Quantity = 2;
|
||||
int64 id = 1;
|
||||
int32 quantity = 2;
|
||||
}
|
||||
|
||||
message SetDelivery {
|
||||
string Provider = 1;
|
||||
repeated int64 Items = 2;
|
||||
optional PickupPoint PickupPoint = 3;
|
||||
string Country = 4;
|
||||
string Zip = 5;
|
||||
optional string Address = 6;
|
||||
optional string City = 7;
|
||||
string provider = 1;
|
||||
repeated int64 items = 2;
|
||||
optional PickupPoint pickupPoint = 3;
|
||||
string country = 4;
|
||||
string zip = 5;
|
||||
optional string address = 6;
|
||||
optional string city = 7;
|
||||
}
|
||||
|
||||
message SetPickupPoint {
|
||||
int64 DeliveryId = 1;
|
||||
string Id = 2;
|
||||
optional string Name = 3;
|
||||
optional string Address = 4;
|
||||
optional string City = 5;
|
||||
optional string Zip = 6;
|
||||
optional string Country = 7;
|
||||
int64 deliveryId = 1;
|
||||
string id = 2;
|
||||
optional string name = 3;
|
||||
optional string address = 4;
|
||||
optional string city = 5;
|
||||
optional string zip = 6;
|
||||
optional string country = 7;
|
||||
}
|
||||
|
||||
message PickupPoint {
|
||||
string Id = 1;
|
||||
optional string Name = 2;
|
||||
optional string Address = 3;
|
||||
optional string City = 4;
|
||||
optional string Zip = 5;
|
||||
optional string Country = 6;
|
||||
string id = 1;
|
||||
optional string name = 2;
|
||||
optional string address = 3;
|
||||
optional string city = 4;
|
||||
optional string zip = 5;
|
||||
optional string country = 6;
|
||||
}
|
||||
|
||||
message RemoveDelivery {
|
||||
int64 Id = 1;
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message CreateCheckoutOrder {
|
||||
string Terms = 1;
|
||||
string Checkout = 2;
|
||||
string Confirmation = 3;
|
||||
string Push = 4;
|
||||
string terms = 1;
|
||||
string checkout = 2;
|
||||
string confirmation = 3;
|
||||
string push = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user