blockchain , sdchain cpp sdk and demo

Dependencies:   EthernetInterface mbed-rtos mbed uniqueCPUID

Fork of bcsdk by SDchain C Plus Plus Team

Committer:
webmaster
Date:
Wed Aug 08 09:51:32 2018 +0800
Revision:
18:ec6cd7cfe3f8
Parent:
12:1b24ea479a59
rm demo files

Who changed what in which revision?

UserRevisionLine numberNew 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