Created
April 24, 2021 00:35
-
-
Save ahmetozlu/fb7309904a33e6742e4b0332bd7ff6cd to your computer and use it in GitHub Desktop.
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
| // the contract's owner address | |
| address payable public owner; | |
| // the customer address | |
| address public customerAddress; | |
| // Order struct | |
| struct Order { | |
| uint ID; | |
| string burgerMenu; | |
| uint quantity; | |
| uint price; | |
| uint safePayment; | |
| uint orderDate; | |
| uint deliveryDate; | |
| bool created; | |
| } | |
| // Invoice struct | |
| struct Invoice { | |
| uint ID; | |
| uint orderNo; | |
| bool created; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment