diff --git a/order/app.py b/order/app.py index d882005..d2445fc 100644 --- a/order/app.py +++ b/order/app.py @@ -27,13 +27,23 @@ def create_order(user_id): pass +@app.delete('/remove/') +def remove_order(order_id): + pass + + @app.post('/addItem//') def add_item(order_id, item_id): pass +@app.delete('/removeItem//') +def remove_item(order_id, item_id): + pass + + @app.get('/find/') -def find_item(order_id): +def find_order(order_id): pass diff --git a/payment/app.py b/payment/app.py index 1a3c174..1a06ac9 100644 --- a/payment/app.py +++ b/payment/app.py @@ -38,3 +38,13 @@ def add_credit(user_id: str, amount: int): @app.post('/pay///') def remove_credit(user_id: str, order_id: str, amount: int): pass + + +@app.post('/cancel//') +def cancel_payment(user_id: str, order_id: str): + pass + + +@app.post('/status//') +def payment_status(user_id: str, order_id: str): + pass