Пример #1
0
 /**
  * @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;
 }
Пример #2
0
 /**
  * @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;
 }
Пример #3
0
 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;
 }
Пример #4
0
 /**
  * @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;
 }
Пример #5
0
 /**
  * @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;
 }
Пример #6
0
 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));
 }
Пример #7
0
 /**
  * @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;
 }
Пример #8
0
 /**
  * @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;
 }