Beispiel #1
0
 /** 服务分类 */
 private void getServiceCls() {
   MainActivity.singleServiceList.clear();
   MainActivity.monthlyServiceList.clear();
   MainActivity.rechargeServiceList.clear();
   for (FeeData feeData : MainActivity.feeDataList) {
     if (feeData.getFeeType().equals("A")) { // 单次服务
       MainActivity.singleServiceList.add(feeData);
     }
     if (feeData.getFeeType().equals("B")) { // 包月服务
       MainActivity.monthlyServiceList.add(feeData);
     }
     if (feeData.getFeeType().equals("C")) { // 充值服务
       MainActivity.rechargeServiceList.add(feeData);
     }
   }
 }
Beispiel #2
0
 public FeeData createFromParcel(Parcel source) {
   FeeData brief = new FeeData();
   brief.feeId = source.readLong();
   brief.feeType = source.readString();
   brief.fee = source.readInt();
   brief.productId = source.readInt();
   brief.feeTypeMi = source.readString();
   brief.productName = source.readString();
   brief.productInfo = source.readString();
   return brief;
 }
Beispiel #3
0
  private void placeOrder(FeeData feeData) {
    BaseCommand carRegister =
        ClientSession.getInstance()
            .getCmdFactory()
            .getPlaceOrder(
                mLocalSharePref.getUserId(),
                feeData.getFeeType(),
                mLocalSharePref.getUserName(),
                0,
                0,
                0,
                "00",
                null,
                null,
                feeData.getFeeTypeMi(),
                feeData.getFee(),
                1);

    mExecuter.execute(carRegister, mPlaceOrderRespHandler);

    dialogUtils.showProgress();
  }