From 2b5262f5302909a56c52e1a5d1170ee36746c2a1 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 14 Sep 2019 22:52:37 +0530 Subject: [PATCH] Update README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index c736436..af32172 100755 --- a/README.md +++ b/README.md @@ -44,4 +44,25 @@ --expiry-year 2022 \ --card-holder-name "The tester" \ --email "monty@python.com" +``` + +### Order a product + +``` +(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=http://127.0.0.1:5000 python ucloud.py product order \ +--name xxxxxxxxxxxxxxxxx \ +--realm xxxxxxxxxxxxxxxx \ +--seed xxxxxxxxxxxxxxxx \ +--email "monty@python.com" \ +--product-id aabc34208e514803a0ee62d697b37e8c +``` + +### Listing different orders + +``` +(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=127.0.0.1:5000 python ucloud.py order list \ +--name xxxxxxxxxxxxxxx \ +--realm xxxxxxxxxxxxxxx \ +--seed xxxxxxxxxxxxxxxxx \ +--email "monty@python.com" ``` \ No newline at end of file