packagecom.yidianling.ydl_pay.bean;importandroid.text.TextUtils;importjava.util.Map;publicclassPayResult{privateStringresultStatus;privateStringresult;privateStringmemo;publicPayResult(Map<String,String>rawResult){if(rawResult==null){return;}for(Stringkey:rawResult.keySet()){if(TextUtils.equals(key,"resultStatus")){resultStatus=rawResult.get(key);}elseif(TextUtils.equals(key,"result")){result=rawResult.get(key);}elseif(TextUtils.equals(key,"memo")){memo=rawResult.get(key);}}}@OverridepublicStringtoString(){return"resultStatus={"+resultStatus+"};memo={"+memo+"};result={"+result+"}";}/**
* @return the resultStatus
*/publicStringgetResultStatus(){returnresultStatus;}/**
* @return the memo
*/publicStringgetMemo(){returnmemo;}/**
* @return the result
*/publicStringgetResult(){returnresult;}}
packagecom.yidianling.ydl_pay.common.bean;importandroid.text.TextUtils;importjava.util.Map;publicclassPayResult{privateStringresultStatus;privateStringresult;privateStringmemo;publicPayResult(Map<String,String>rawResult){if(rawResult==null){return;}for(Stringkey:rawResult.keySet()){if(TextUtils.equals(key,"resultStatus")){resultStatus=rawResult.get(key);}elseif(TextUtils.equals(key,"result")){result=rawResult.get(key);}elseif(TextUtils.equals(key,"memo")){memo=rawResult.get(key);}}}@OverridepublicStringtoString(){return"resultStatus={"+resultStatus+"};memo={"+memo+"};result={"+result+"}";}/**
* @return the resultStatus
*/publicStringgetResultStatus(){returnresultStatus;}/**
* @return the memo
*/publicStringgetMemo(){returnmemo;}/**
* @return the result
*/publicStringgetResult(){returnresult;}}