@peabody-soft/mbs-protos 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SalesOrderPayload.proto +11 -5
- package/package.json +1 -1
package/SalesOrderPayload.proto
CHANGED
|
@@ -3,12 +3,12 @@ package com.merabills.storefront;
|
|
|
3
3
|
option java_multiple_files = true;
|
|
4
4
|
option java_package = "com.merabills.server.core.generated";
|
|
5
5
|
|
|
6
|
+
import "Address.proto";
|
|
6
7
|
import "FulfillmentMode.proto";
|
|
7
8
|
import "OrderStatus.proto";
|
|
8
9
|
import "ShoppingList.proto";
|
|
9
10
|
|
|
10
|
-
// The payload of a SALES_ORDER message: an order placed by a customer.
|
|
11
|
-
// not part of this payload.
|
|
11
|
+
// The payload of a SALES_ORDER message: an order placed by a customer.
|
|
12
12
|
// Excluded: serviceStationNumber, dueDate.
|
|
13
13
|
message SalesOrderPayload {
|
|
14
14
|
|
|
@@ -28,9 +28,15 @@ message SalesOrderPayload {
|
|
|
28
28
|
// Id of the delivery address, in User.addresses of the customer. 0 means no address.
|
|
29
29
|
int64 deliveryAddressId = 6;
|
|
30
30
|
|
|
31
|
+
// If present, takes precedence over delivery address id
|
|
32
|
+
Address deliveryAddress = 7;
|
|
33
|
+
|
|
31
34
|
// Time this order was created, in milliseconds since Jan 1, 1970 00:00:00 UTC
|
|
32
|
-
int64 creationDate =
|
|
35
|
+
int64 creationDate = 8;
|
|
33
36
|
|
|
34
37
|
// Note from the customer (at most Constants.SALES_ORDER_NOTE_MAX_LENGTH)
|
|
35
|
-
optional string note =
|
|
36
|
-
|
|
38
|
+
optional string note = 9;
|
|
39
|
+
|
|
40
|
+
// Payment received towards this order so far. Can only be set by an operator of the business.
|
|
41
|
+
optional int64 paymentReceived = 10;
|
|
42
|
+
}
|