Subversion Repositories SmartDukaan

Rev

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

Rev 6503 Rev 7042
Line 58... Line 58...
58
    
58
    
59
	public static final long PAYMENT_NOT_CREATED = -1;
59
	public static final long PAYMENT_NOT_CREATED = -1;
60
	
60
	
61
	private static final long HDFC_GATEWAY_ID = 1;
61
	private static final long HDFC_GATEWAY_ID = 1;
62
	private static final long EBS_GATEWAY_ID = 2;
62
	private static final long EBS_GATEWAY_ID = 2;
63
	private static final List<Long> HDFC_EMI_GATEWAY_IDS = Arrays.asList(5L,10L,11L,12L);
63
	private static final List<Long> HDFC_EMI_GATEWAY_IDS = Arrays.asList(5L,10L,11L,12L,14L);
64
	
64
	
65
	ApplicationContext context = new ClassPathXmlApplicationContext("context.xml");
65
	ApplicationContext context = new ClassPathXmlApplicationContext("context.xml");
66
	PaymentHandler paymentHandler = (PaymentHandler) context.getBean("paymentHandler");
66
	PaymentHandler paymentHandler = (PaymentHandler) context.getBean("paymentHandler");
67
    PaymentRequiringExtraProcessingHandler paymentRequiringExtraProcessingHandler =
67
    PaymentRequiringExtraProcessingHandler paymentRequiringExtraProcessingHandler =
68
        (PaymentRequiringExtraProcessingHandler) context.getBean("paymentRequiringExtraProcessingHandler");
68
        (PaymentRequiringExtraProcessingHandler) context.getBean("paymentRequiringExtraProcessingHandler");