public class OrderNotificationConverter extends java.lang.Object implements NotificationToEntityConverter
Modifier and Type | Field and Description |
---|---|
private OrderService |
orderService |
private ShopRequestContextServiceForPrivateApiOnly |
shopService |
Constructor and Description |
---|
OrderNotificationConverter(OrderService orderService,
ShopRequestContextServiceForPrivateApiOnly shopService) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<DetailedOrder> |
convert(NotificationEntity notification) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getScopes
private final OrderService orderService
private final ShopRequestContextServiceForPrivateApiOnly shopService
@Inject public OrderNotificationConverter(OrderService orderService, ShopRequestContextServiceForPrivateApiOnly shopService)
public java.util.Optional<DetailedOrder> convert(NotificationEntity notification)
convert
in interface Converter<NotificationEntity,java.util.Optional<?>>