Пример #1
0
 // ----------------------------助手
 public JSONObject performGetExchangeResult(
     double currencyDenomination, ECoin sourceCurrencyType, ECoin destinationCurrencyType) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(
       mhelper.getExchangeResult(
           currencyDenomination, sourceCurrencyType, destinationCurrencyType));
 }
Пример #2
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;
 }
Пример #3
0
 public JSONObject performOpenCard(
     String userName,
     String creditCardNo,
     String availbDate,
     String idNo,
     String cellPhone,
     String tel,
     String pwd) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(
       mCc.openCard(userName, creditCardNo, availbDate, idNo, cellPhone, tel, pwd));
 }
Пример #4
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;
 }
Пример #5
0
 public JSONObject performSetNickName(String accNo, String name) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setNickName(accNo, name));
 }
Пример #6
0
 public JSONObject performSetBind(String accNo, String password) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setBind(accNo, password));
 }
Пример #7
0
 // ----------------------------查询
 public JSONObject performAcctIsActive(String actNo) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mQuery.acctIsActive(actNo));
 }
Пример #8
0
 /**
  * 功能号:0103
  *
  * @author hosolo
  * @param userId
  * @param accType
  * @param accState
  * @return
  */
 public JSONObject performGetAccWithNickName(String userId, String accType, EAccState accState) {
   return Helper.wrapUp(mAccSystem.getAccWithNickName(userId, accType, accState));
 }
Пример #9
0
 // ----------------------------系统
 public JSONObject performGetUserInfo(String userId) {
   return Helper.wrapUp(mAccSystem.getUserInfo(userId));
 }
Пример #10
0
 public JSONObject performGetRate(ERateType type) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mhelper.getRate(type));
 }
Пример #11
0
 public JSONObject performDestroyCard(
     String userName, String creditCardNo, String idNo, String cellPhone, String pwd) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mCc.destroyCard(userName, creditCardNo, idNo, cellPhone, pwd));
 }
Пример #12
0
 public JSONObject performSetOrderCard(
     String accNo, String aliss, String reason, String net, String netaddress, double cost) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setOrderCard(accNo, aliss, reason, net, netaddress, cost));
 }
Пример #13
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;
 }
Пример #14
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));
 }
Пример #15
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;
 }
Пример #16
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;
 }
Пример #17
0
 public JSONObject performGetOrderInfo(String acc) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mQuery.getOrderInfo(acc));
 }
Пример #18
0
 /**
  * 传入账户号,取得账户管理所需要得账户信息
  *
  * @author 王亭
  * @param account
  * @return 账户信息
  */
 public JSONObject performGetAccInfo(String account) {
   JSONObject jsonObj = new JSONObject();
   jsonObj = Helper.wrapUp(mQuery.getAccInfo(account));
   return jsonObj;
 }
Пример #19
0
 // ----------------------------信用卡专用
 public JSONObject performCreditRepayment(
     String account, String password, String tarAcc, double payamt) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mCc.creditRepayment(account, password, tarAcc, payamt));
 }
Пример #20
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;
 }
Пример #21
0
 public JSONObject performGetCreditRepaymentInfor(String account) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mCc.getCreditRepaymentInfor(account));
 }
Пример #22
0
 public JSONObject performVerifyPassword(String account, String password) {
   JSONObject jsonObj = new JSONObject();
   jsonObj = Helper.wrapUp(mQuery.verifyPassword(account, password));
   return jsonObj;
 }
Пример #23
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;
 }
Пример #24
0
 // ---------------------------- 更新,修改
 public JSONObject performDeleAcc(String accNo) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.deleAcc(accNo));
 }
Пример #25
0
 public JSONObject performGetMoneyType() {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mhelper.getMoneyType());
 }
Пример #26
0
 public JSONObject performLossRegister(String accNo) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.lossRegister(accNo));
 }
Пример #27
0
 /**
  * 功能号:0101
  *
  * @author hosolo
  * @return
  */
 public JSONObject performGetAccType() {
   return Helper.wrapUp(mAccSystem.getAccType());
 }
Пример #28
0
 public JSONObject performSetActActive(String accNo, String accPwd) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setActActive(accNo, accPwd));
 }
Пример #29
0
 /**
  * @author hosolo
  * @param userId
  * @param accNo
  * @param accType
  * @param accNickName
  * @param accPwd
  * @return
  */
 public JSONObject performAddAcc(
     String userId, String accNo, String accType, String accNickName, String accPwd) {
   return Helper.wrapUp(mAccSystem.addAcc(userId, accNo, accType, accNickName, accPwd));
 }
Пример #30
0
 /**
  * 0126
  *
  * @author hosolo
  * @param payName
  * @param state
  * @return
  */
 public JSONObject performUpdatePaymentState(String payName, String state) {
   return Helper.wrapUp(mAccSystem.updatePaymentState(payName, state));
 }