Subversion Repositories SmartDukaan

Rev

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

Rev 25041 Rev 25064
Line 557... Line 557...
557
				walletService.consumeAmountFromWallet(fofoId, insurancePolicy.getId(),
557
				walletService.consumeAmountFromWallet(fofoId, insurancePolicy.getId(),
558
						WalletReferenceType.DAMAGE_PROTECTION, walletDescription, insurancePolicy.getPurchaseAmount());
558
						WalletReferenceType.DAMAGE_PROTECTION, walletDescription, insurancePolicy.getPurchaseAmount());
559
				insurancePolicyRepository.persist(insurancePolicy);
559
				insurancePolicyRepository.persist(insurancePolicy);
560
			}
560
			}
561
		}
561
		}
562
		//schemeService.processSchemeOut(fofoOrder.getId(), fofoId);
562
		schemeService.processSchemeOut(fofoOrder.getId(), fofoId);
563
		return fofoOrder.getId();
563
		return fofoOrder.getId();
564
	}
564
	}
565
 
565
 
566
	private WiseAppInsuaranceModel createWiseAppInsuranceModel(MobileInsurancePlan mobileInsurancePlan,
566
	private WiseAppInsuaranceModel createWiseAppInsuranceModel(MobileInsurancePlan mobileInsurancePlan,
567
			InsurancePolicy insurancePolicy, CustomCustomer customer) throws ProfitMandiBusinessException {
567
			InsurancePolicy insurancePolicy, CustomCustomer customer) throws ProfitMandiBusinessException {