change alot of id values
This commit is contained in:
@@ -7,7 +7,7 @@ message ClearCartRequest {
|
||||
}
|
||||
|
||||
message AddItem {
|
||||
int64 item_id = 1;
|
||||
uint32 item_id = 1;
|
||||
int32 quantity = 2;
|
||||
int64 price = 3;
|
||||
int64 orgPrice = 9;
|
||||
@@ -33,17 +33,17 @@ message AddItem {
|
||||
}
|
||||
|
||||
message RemoveItem {
|
||||
int64 Id = 1;
|
||||
uint32 Id = 1;
|
||||
}
|
||||
|
||||
message ChangeQuantity {
|
||||
int64 id = 1;
|
||||
uint32 Id = 1;
|
||||
int32 quantity = 2;
|
||||
}
|
||||
|
||||
message SetDelivery {
|
||||
string provider = 1;
|
||||
repeated int64 items = 2;
|
||||
repeated uint32 items = 2;
|
||||
optional PickupPoint pickupPoint = 3;
|
||||
string country = 4;
|
||||
string zip = 5;
|
||||
@@ -52,7 +52,7 @@ message SetDelivery {
|
||||
}
|
||||
|
||||
message SetPickupPoint {
|
||||
int64 deliveryId = 1;
|
||||
uint32 deliveryId = 1;
|
||||
string id = 2;
|
||||
optional string name = 3;
|
||||
optional string address = 4;
|
||||
@@ -71,7 +71,7 @@ message PickupPoint {
|
||||
}
|
||||
|
||||
message RemoveDelivery {
|
||||
int64 id = 1;
|
||||
uint32 id = 1;
|
||||
}
|
||||
|
||||
message CreateCheckoutOrder {
|
||||
@@ -98,6 +98,19 @@ message InitializeCheckout {
|
||||
bool paymentInProgress = 3;
|
||||
}
|
||||
|
||||
message VoucherRule {
|
||||
string type = 2;
|
||||
string description = 3;
|
||||
string condition = 4;
|
||||
string action = 5;
|
||||
}
|
||||
|
||||
message AddVoucher {
|
||||
string code = 1;
|
||||
int64 value = 2;
|
||||
repeated VoucherRule voucherRules = 3;
|
||||
}
|
||||
|
||||
message RemoveVoucher {
|
||||
uint32 id = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user