Class YookassaHandlerServiceImpl
- java.lang.Object
-
- co.mastermindcms.modules.services.yookassa.YookassaHandlerServiceImpl
-
- All Implemented Interfaces:
YookassaHandlerService
@Service public class YookassaHandlerServiceImpl extends java.lang.Object implements YookassaHandlerService
-
-
Field Summary
Fields Modifier and Type Field Description private OrderRepository
orderRepository
private OrderService
orderService
private WebSocketService
webSocketService
-
Constructor Summary
Constructors Constructor Description YookassaHandlerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
handleCustomerDeletedEvent(org.json.JSONObject request)
java.lang.Object
handlePaymentCreatedEvent(org.json.JSONObject request)
java.lang.Object
handlePaymentFailedEvent(org.json.JSONObject request)
java.lang.Object
handlePaymentSucceededEvent(org.json.JSONObject request, javax.servlet.http.HttpSession httpSession)
java.lang.Object
handlePayoutPaidEvent(org.json.JSONObject request, javax.servlet.http.HttpSession httpSession)
java.lang.Object
handleSubscriptionCanceledEvent(org.json.JSONObject request)
java.lang.Object
handleSubscriptionDeletedEvent(org.json.JSONObject request)
-
-
-
Field Detail
-
orderRepository
@Autowired private OrderRepository orderRepository
-
webSocketService
@Autowired private WebSocketService webSocketService
-
orderService
@Autowired private OrderService orderService
-
-
Method Detail
-
handlePayoutPaidEvent
public java.lang.Object handlePayoutPaidEvent(org.json.JSONObject request, javax.servlet.http.HttpSession httpSession)
- Specified by:
handlePayoutPaidEvent
in interfaceYookassaHandlerService
-
handlePaymentFailedEvent
public java.lang.Object handlePaymentFailedEvent(org.json.JSONObject request)
- Specified by:
handlePaymentFailedEvent
in interfaceYookassaHandlerService
-
handlePaymentSucceededEvent
public java.lang.Object handlePaymentSucceededEvent(org.json.JSONObject request, javax.servlet.http.HttpSession httpSession)
- Specified by:
handlePaymentSucceededEvent
in interfaceYookassaHandlerService
-
handlePaymentCreatedEvent
public java.lang.Object handlePaymentCreatedEvent(org.json.JSONObject request)
- Specified by:
handlePaymentCreatedEvent
in interfaceYookassaHandlerService
-
handleSubscriptionCanceledEvent
public java.lang.Object handleSubscriptionCanceledEvent(org.json.JSONObject request)
- Specified by:
handleSubscriptionCanceledEvent
in interfaceYookassaHandlerService
-
handleSubscriptionDeletedEvent
public java.lang.Object handleSubscriptionDeletedEvent(org.json.JSONObject request)
- Specified by:
handleSubscriptionDeletedEvent
in interfaceYookassaHandlerService
-
handleCustomerDeletedEvent
public java.lang.Object handleCustomerDeletedEvent(org.json.JSONObject request)
- Specified by:
handleCustomerDeletedEvent
in interfaceYookassaHandlerService
-
-