Class CdekHandlerServiceImpl
- java.lang.Object
-
- co.mastermindcms.modules.services.cdek.CdekHandlerServiceImpl
-
- All Implemented Interfaces:
CdekHandlerService
@Service public class CdekHandlerServiceImpl extends java.lang.Object implements CdekHandlerService
-
-
Field Summary
Fields Modifier and Type Field Description private CdekService
cdekService
private CommerceItemService
commerceItemService
private com.fasterxml.jackson.databind.ObjectMapper
mapper
private OrderRepository
orderRepository
private PaymentProviderService
paymentProviderService
private WebSocketService
webSocketService
-
Constructor Summary
Constructors Constructor Description CdekHandlerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
handleCalculateDelivery(java.util.Map<java.lang.String,java.lang.Object> request)
java.lang.Object
handleDeliveryPoints(java.util.Map<java.lang.String,java.lang.Object> request)
java.lang.Object
handleTariffs(java.util.Map<java.lang.String,java.lang.Object> request)
java.lang.Object
handleWebhook(java.util.Map<java.lang.String,java.lang.Object> request)
-
-
-
Field Detail
-
cdekService
@Autowired private CdekService cdekService
-
webSocketService
@Autowired private WebSocketService webSocketService
-
orderRepository
@Autowired private OrderRepository orderRepository
-
paymentProviderService
@Autowired private PaymentProviderService paymentProviderService
-
commerceItemService
@Autowired private CommerceItemService commerceItemService
-
mapper
private final com.fasterxml.jackson.databind.ObjectMapper mapper
-
-
Method Detail
-
handleDeliveryPoints
public java.lang.Object handleDeliveryPoints(java.util.Map<java.lang.String,java.lang.Object> request)
- Specified by:
handleDeliveryPoints
in interfaceCdekHandlerService
-
handleCalculateDelivery
public java.lang.Object handleCalculateDelivery(java.util.Map<java.lang.String,java.lang.Object> request)
- Specified by:
handleCalculateDelivery
in interfaceCdekHandlerService
-
handleTariffs
public java.lang.Object handleTariffs(java.util.Map<java.lang.String,java.lang.Object> request)
- Specified by:
handleTariffs
in interfaceCdekHandlerService
-
handleWebhook
public java.lang.Object handleWebhook(java.util.Map<java.lang.String,java.lang.Object> request)
- Specified by:
handleWebhook
in interfaceCdekHandlerService
-
-