/** * @author 王 亭 2011-3-31 * @param paymentName * @param paymentAmt * @param paymentActNo * @param paymentActPasswd * @param paymentNum * @param charger * @return */ public JSONObject performPayment( String paymentName, double paymentAmt, String paymentActNo, String paymentActPasswd, String charger) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp( mTrans.payment(paymentName, paymentAmt, paymentActNo, paymentActPasswd, charger)); return jsonObj; }
/** * @author 王 亭 2011-3-24 * @param paymentName * @param paymentAmt * @param paymentActNo * @param paymentActPasswd * @param paymentNum * @return */ public JSONObject performRecharge( String paymentName, double paymentAmt, String paymentActNo, String paymentActPasswd, String paymentNum, String operator) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp( mTrans.recharge( paymentName, paymentAmt, paymentActNo, paymentActPasswd, paymentNum, operator)); return jsonObj; }
public JSONObject preformTransfeActToAct( String account, String password, String amtAct, double amtnum) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.transfeActToAct(account, password, amtAct, amtnum)); return jsonObj; }
/** * @author 王 亭 2011-3-24 * @param serNo * @param detail * @return */ public JSONObject performSetDetail(String serNo, String detail) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.setDetail(serNo, detail)); return jsonObj; }
/** * @author 王 亭 2011-3-24 * @param account * @param password * @param amtph * @param amtnum * @return */ public JSONObject performGetTargetPhoneInfo( String account, String password, String amtph, double amtnum) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.getTargetPhoneInfo(account, password, amtph, amtnum)); return jsonObj; }
public JSONObject performGetRechargeInfo( String paymentName, String paymentActNo, double paymentAmt, String paymentPhoneNum) { // TODO Auto-generated method stub return Helper.wrapUp( mTrans.getRechargeInfo(paymentName, paymentActNo, paymentAmt, paymentPhoneNum)); }
/** * @author 王 亭 2011-3-28 * @param id * @return */ public JSONObject performGetPaymentInfo(String userid, String id) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.getPaymentInfo(userid, id)); return jsonObj; }
/** * @author 王 亭 2011-3-24 * @param id * @return */ public JSONObject performGetListQueryInfo(String type, String id) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.getListQueryInfo(type, id)); return jsonObj; }