OPC UA for Unattended Retail & Coffee Solutions - Part 1: Core Components
8.16 DeliveryAndPaymentStatusEnum
This enumeration represents the status of the payment and delivery of a delivery request. The enumeration is defined in Table 120.
Table 120 - DeliveryAndPaymentStatusEnum Items
Name
Value
Description
DeliveryRequestReceived
0
The delivery request has been received and the payment can start.
PaymentInExecution
1
Execution of the payment is ongoing.
PaymentFinished
2
Payment of the delivery request has successfully ended.
PaymentFailed
3
Execution of the payment has failed. No delivery will be triggered. This is an end state of a delivery and afterwards the state is not changing anymore.
PaymentCancelledByUser
4
The payment has been cancelled by the user, for example by calling the CancelDeliverRequest() method.
PaymentFailedWrongPrice
5
The price used for requesting the delivery is different from the price that effectively has to be used (e.g., because payment mode or user id have changed). Therefore, execution of the payment does not take place and no delivery will be triggered. This is an end state of a delivery and afterwards the state is not changing anymore.
DeliveryInExecution
6
The payment has successfully ended and the delivery has started.
DeliveryAndPaymentSuccess
7
Payment and delivery request have been successful. This is an end state of a delivery and afterwards the state is not changing anymore.
DeliveryFailRefundInExecution
8
Delivery has failed and refund has started.
DeliveryFailRefundSuccess
9
Delivery has failed and refund has successfully ended. This is an end state of a delivery and afterwards the state is not changing anymore.
DeliveryAndRefundFailed
10
Delivery has failed and the refund has failed, as well. This is an end state of a delivery and afterwards the state is not changing anymore.
DeliveryMixResultRefundInExecution
11
Shall only be applied to basket delivery. Parts of the basket have been delivered and parts have failed, refund has started.
DeliveryMixResultRefundSuccess
12
Shall only be applied to basket delivery. Parts of the basket have been delivered and parts have failed, refund has successfully ended. This is an end state of a delivery and afterwards the state is not changing anymore.
DeliveryMixResultRefundFailed
13
Shall only be applied to basket delivery. Parts of the basket have been delivered and parts have failed, refund has failed. This is an end state of a delivery and afterwards the state is not changing anymore.
CancelledByUserRefundInExcecution
14
The deliver request has been cancelled by the user and the refund operation is in execution. If a basket is cancelled after delivery has started, use the DeliveryMixResultRefundInExecution state.
CancelledByUserRefundSuccess
15
The deliver request has been cancelled by the user and the refund operation has successfully ended. This is an end state of a delivery and afterwards the state is not changing anymore.
CancelledByUserRefundFailed
16
The deliver request has been cancelled by the user and the refund has failed. This is an end state of a delivery and afterwards the state is not changing anymore.
Its representation in the AddressSpace is defined in Table 121.