Subversion Repositories SmartDukaan

Rev

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

Rev 4008 Rev 4141
Line 99... Line 99...
99
			statusValue = status.getValue();
99
			statusValue = status.getValue();
100
		else
100
		else
101
			statusValue = -1;
101
			statusValue = -1;
102
		return getThriftPayments(paymentHandler.getPayments(fromTime, toTime, statusValue, gatewayId));
102
		return getThriftPayments(paymentHandler.getPayments(fromTime, toTime, statusValue, gatewayId));
103
	}
103
	}
-
 
104
	
-
 
105
	@Override
-
 
106
	public List<Payment> getPaymentsByCapturedDate(long fromTime, long toTime, long gatewayId) throws PaymentException, TException {
-
 
107
		logger.info("Getting payments from " + fromTime + " to " + toTime + " for " + gatewayId);
-
 
108
		return getThriftPayments(paymentHandler.getPaymentsByCapturedDate(fromTime, toTime, gatewayId));
-
 
109
	}
104
 
110
 
105
	@Override
111
	@Override
106
	public PaymentGateway getPaymentGateway(long id) throws PaymentException, TException {
112
	public PaymentGateway getPaymentGateway(long id) throws PaymentException, TException {
107
	    logger.info("Getting payment gateway with id:" + id);
113
	    logger.info("Getting payment gateway with id:" + id);
108
		return paymentGatewayHandler.getPaymentGateway(id).getThriftPaymentGateway();
114
		return paymentGatewayHandler.getPaymentGateway(id).getThriftPaymentGateway();
Line 533... Line 539...
533
    @Override
539
    @Override
534
    public void markPaymentAsProcessed(long paymentId,
540
    public void markPaymentAsProcessed(long paymentId,
535
            ExtraPaymentProcessingType category) throws TException {
541
            ExtraPaymentProcessingType category) throws TException {
536
        paymentRequiringExtraProcessingHandler.delete(paymentId, category);
542
        paymentRequiringExtraProcessingHandler.delete(paymentId, category);
537
    }
543
    }
-
 
544
 
538
}
545
}