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