Examples of VoucherTheme


Examples of com.jpoweredcart.common.entity.sale.VoucherTheme

    Voucher voucher = get(voucherId, Voucher.class);
    if(voucher==null){
      return;
    }
   
    VoucherTheme voucherTheme = voucherThemeAdminModel
        .get(voucher.getVoucherThemeId(), VoucherTheme.class);
   
    Map<String, Object> model = new HashMap<String, Object>();
   
    String storeName = null;
    String storeUrl = null;
    String image = voucherTheme.getImage();
    image = mediaService.getImageUrl(image);
    String amount = null;
    Integer orderId = voucher.getOrderId();
    Order order = orderAdminModel.get(orderId, Order.class);
    // If voucher belongs to an order
View Full Code Here

Examples of com.jpoweredcart.common.entity.sale.VoucherTheme

    List<VoucherTheme> customerGroupList = getJdbcOperations()
        .query(query.getSql(), query.getParameters(), new VoucherThemeRowMapper(){
          @Override
          public VoucherTheme mapRow(ResultSet rs, int rowNum)
              throws SQLException {
            VoucherTheme vt = super.mapRow(rs, rowNum);
            vt.setName(rs.getString("name"));
            return vt;
          }
        }.setTargetClass(VoucherTheme.class));
    return customerGroupList;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.