Created
January 6, 2020 22:43
-
-
Save johnfriel/163e4a7ea9165c33460a9cad89078a50 to your computer and use it in GitHub Desktop.
Rental and Purchase Lifecycle v3-1
This file contains hidden or 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
| Rental and Purchase Lifecycle v3-1 | |
| Potential Transaction | |
| collectorStartTrial -> Handoff - To Collector For Trial | |
| collectorStartPurchasing -> Handoff - To Collector For Ongoing Purchasing | |
| collectorPurchase -> Handoff - To Collector For Final Purchase | |
| Trial | |
| Handoff - To Collector For Trial | |
| collectorReceiveArtwork -> Trialing | |
| collectorDoesNotReceiveArtwork -> Error | |
| Trialing | |
| collectorReturn -> Handoff - To Artist From Trial | |
| collectorStartPurchasing -> Ongoing Purchasing | |
| collectorPurchase -> Purchase Completed | |
| Handoff - To Artist From Trial | |
| artistReceiveArtwork -> Potential Transaction | |
| artistDoesNotReceiveArtwork -> Error | |
| Purchase | |
| Handoff - To Collector For Ongoing Purchasing | |
| collectorReceiveArtwork -> Ongoing Purchasing | |
| collectorDoesNotReceiveArtwork -> Error | |
| Handoff - To Collector For Final Purchase | |
| collectorReceiveArtwork -> Purchase Completed | |
| collectorDoesNotReceiveArtwork -> Error | |
| Ongoing Purchasing | |
| collectorReturn -> Handoff - To Artist From Ongoing Purchasing | |
| collectorFinishPurchasing -> Purchase Completed | |
| Handoff - To Artist From Ongoing Purchasing | |
| artistReceiveArtwork -> Potential Transaction | |
| artistDoesNotReceiveArtwork -> Error | |
| Purchase Completed | |
| Error |
This file contains hidden or 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
| function render(model){ | |
| let current_state_name = model.active_states[0].name; | |
| return $("h1", | |
| {style: {color: "darkBlue"}}, | |
| `The current state is: ${current_state_name}`); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment