Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 1946 |
chandransh |
1 |
package in.shop2020.payment.handler;
|
|
|
2 |
|
|
|
3 |
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
4 |
import org.springframework.stereotype.Service;
|
|
|
5 |
|
|
|
6 |
import in.shop2020.payment.domain.PaymentGateway;
|
|
|
7 |
import in.shop2020.payment.persistence.PaymentGatewayMapper;
|
|
|
8 |
|
|
|
9 |
@Service
|
|
|
10 |
public class PaymentGatewayHandler {
|
|
|
11 |
|
|
|
12 |
@Autowired
|
|
|
13 |
private PaymentGatewayMapper paymentGatewayMapper;
|
|
|
14 |
|
|
|
15 |
public PaymentGateway getPaymentGateway(long id){
|
|
|
16 |
return paymentGatewayMapper.getPaymentGateway(id);
|
|
|
17 |
}
|
|
|
18 |
}
|