Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos mbed uniqueCPUID
Fork of bcsdk by
Order.h@17:82d09b5a9189, 2018-06-08 (annotated)
- Committer:
- MrAI
- Date:
- Fri Jun 08 01:40:23 2018 +0000
- Revision:
- 17:82d09b5a9189
- Parent:
- 12:1b24ea479a59
????
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| MrAI | 12:1b24ea479a59 | 1 | #if !defined(__Order_h) |
| MrAI | 12:1b24ea479a59 | 2 | #define __Order_h |
| MrAI | 12:1b24ea479a59 | 3 | #include <string> |
| MrAI | 12:1b24ea479a59 | 4 | #include "MbedJSONValue.h" |
| MrAI | 12:1b24ea479a59 | 5 | #include "Payment.h" |
| MrAI | 12:1b24ea479a59 | 6 | #include "Client.h" |
| MrAI | 12:1b24ea479a59 | 7 | using namespace std; |
| MrAI | 12:1b24ea479a59 | 8 | class Order :public Payment |
| MrAI | 12:1b24ea479a59 | 9 | { |
| MrAI | 12:1b24ea479a59 | 10 | public: |
| MrAI | 12:1b24ea479a59 | 11 | bool SetJsonBody(MbedJSONValue& out, string secretIn, string typeIn, string currencypayIn, string cntpartypayIn, string valuepayIn, string currencygetIn, string cntpartygetIn, string valuegetIn); |
| MrAI | 12:1b24ea479a59 | 12 | string PostOrder(MbedJSONValue& in, string sUrl, string sAddr, string sequence); |
| MrAI | 12:1b24ea479a59 | 13 | protected: |
| MrAI | 12:1b24ea479a59 | 14 | private: |
| MrAI | 12:1b24ea479a59 | 15 | private: |
| MrAI | 12:1b24ea479a59 | 16 | Client client; |
| MrAI | 12:1b24ea479a59 | 17 | }; |
| MrAI | 12:1b24ea479a59 | 18 | #endif |
