Class EcommerceCreatedEventMapper
java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.mapper.EcommerceCreatedEventMapper
Component used to create
CardCreatedEvent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate es.kukenan.smartfi.common.context.RequestContextManagerRequest context manager.private StringThis micro-service name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiones.kukenan.smartfi.microservice.contracts.events.created.NotificationEcommerceEventmap(es.kukenan.smartfi.microservice.contracts.api.psd2.EcommerceRequestDto ecommerceRequestDto, Integer backOfficeId) Create aNotificationEcommerceEventfor the given card in the given context.
-
Field Details
-
serviceName
This micro-service name. -
requestContextManager
@Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManagerRequest context manager.
-
-
Constructor Details
-
EcommerceCreatedEventMapper
public EcommerceCreatedEventMapper()
-
-
Method Details
-
map
public es.kukenan.smartfi.microservice.contracts.events.created.NotificationEcommerceEvent map(es.kukenan.smartfi.microservice.contracts.api.psd2.EcommerceRequestDto ecommerceRequestDto, Integer backOfficeId) Create aNotificationEcommerceEventfor the given card in the given context.- Parameters:
ecommerceRequestDto- Request ecommerce operation.backOfficeId- Backoffice identifier.- Returns:
- the inserted instance data.
-