Subversion Repositories SmartDukaan

Rev

Rev 34805 | Rev 34838 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34805 Rev 34810
Line 581... Line 581...
581
            String itemBrand = itemRepository.selectById(itemId).getBrand();
581
            String itemBrand = itemRepository.selectById(itemId).getBrand();
582
 
582
 
583
            AfinityQuoteModel quoteModel = new AfinityQuoteModel();
583
            AfinityQuoteModel quoteModel = new AfinityQuoteModel();
584
            quoteModel.setPolicyStartDate(today.toString());          // format: yyyy-MM-dd
584
            quoteModel.setPolicyStartDate(today.toString());          // format: yyyy-MM-dd
585
            quoteModel.setPolicyEndDate(oneYearLater.toString());
585
            quoteModel.setPolicyEndDate(oneYearLater.toString());
586
//            quoteModel.setPlanCode(String.valueOf(planVariant.getOurPlanId()));
586
            quoteModel.setPlanCode(String.valueOf(planVariant.getOurPlanId()));
587
            quoteModel.setPlanCode(String.valueOf(10357));
587
//            quoteModel.setPlanCode(String.valueOf(10357));
588
            quoteModel.setSumInsured((int) sumInsured);
588
            quoteModel.setSumInsured((int) sumInsured);
589
            quoteModel.setBasisOfValuation("Market_Value");
589
            quoteModel.setBasisOfValuation("Market_Value");
590
            quoteModel.setPartyStateName(iciciLombardService.PARTY_STATE_NAME);
590
            quoteModel.setPartyStateName(iciciLombardService.PARTY_STATE_NAME);
591
            quoteModel.setRiskSIComponent("MOBILE");
591
            quoteModel.setRiskSIComponent("MOBILE");
592
            quoteModel.setMakeManufacturer(itemBrand.toUpperCase());
592
            quoteModel.setMakeManufacturer(itemBrand.toUpperCase());