Class ProductDestinationMapper
java.lang.Object
es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductMapper
es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductDestinationMapper
This class is used to map to and from a
ProductDestinationDto.-
Nested Class Summary
Nested classes/interfaces inherited from class es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductMapper
ProductMapper.UnimplementedMapperException -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate BooleancreateOwnAccoun(es.kukenan.smartfi.microservice.contracts.api.common.IdNamePairDto relatinType) es.kukenan.smartfi.microservice.transfer.api.products.ProductDestinationDtomap(es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto) Map anProductDtoto aProductDestinationDto.Methods inherited from class es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductMapper
map
-
Field Details
-
RELATION_TYPE_TITULAR
Relation type 01. -
RELATION_TYPE_USUFRUCTUARIO
Relation type 02. -
RELATION_TYPE_REPRESENTANTE_LEGAL
Relation type 13.
-
-
Constructor Details
-
ProductDestinationMapper
public ProductDestinationMapper()
-
-
Method Details
-
map
public es.kukenan.smartfi.microservice.transfer.api.products.ProductDestinationDto map(es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto) Map anProductDtoto aProductDestinationDto.- Overrides:
mapin classProductMapper- Parameters:
productDto- the givenProductDto- Returns:
- the mapped
ProductDestinationDto.
-
createOwnAccoun
private Boolean createOwnAccoun(es.kukenan.smartfi.microservice.contracts.api.common.IdNamePairDto relatinType)
-