二期c++接口
Dependencies: EthernetInterface mbed-rtos mbed uniqueCPUID
Fork of bcsdk by
Payment.h
- Committer:
- MrAI
- Date:
- 2018-05-16
- Revision:
- 12:1b24ea479a59
File content as of revision 12:1b24ea479a59:
#if !defined(__Account_Payment_h) #define __Account_Payment_h #include "Client.h" #include <string> #include "MbedJSONValue.h" #include "Account.h" using namespace std; class Payment:public Account { public: string PostPayment(MbedJSONValue& in,string sUrl,string sAddr,string otherInfo);//Ö§¸¶ÇëÇó bool SetJsonBody(MbedJSONValue& out, string src_accIn, string dst_accIn, string direction, int start_ledger, int end_ledger, int per_page, int page); bool SetJsonBody(MbedJSONValue& out,string secretIn,string src_accIn,string dst_accIn,string amt_In,string memtypeIn,string memdataIn);//×éjson°ü string GetPaymentInfo(string sUrl, string sAddr, string otherInfo);//»ñµÃÖ§¸¶ÐÅÏ¢ protected: private: Client client; }; #endif