Created
March 20, 2017 14:45
-
-
Save berndruecker/11851572cf3047bd6ae30e3c4ebab447 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OrderSaga { | |
String orderId; | |
static enum GoodsDeliveryStatus { | |
NOTHING_DONE, | |
GOODS_RESERVED, | |
GOODS_PICKED | |
} | |
boolean paymentReceived = false; | |
GoodsDeliveryStatus deliveryStatus = GoodsDeliveryStatus.NOTHING_DONE; | |
boolean shipped = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment