java.lang.Object
es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductMapper
es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductDestinationMapper

@Component public class ProductDestinationMapper extends ProductMapper
This class is used to map to and from a ProductDestinationDto.
  • Field Details

    • RELATION_TYPE_TITULAR

      private static final Integer RELATION_TYPE_TITULAR
      Relation type 01.
    • RELATION_TYPE_USUFRUCTUARIO

      private static final Integer RELATION_TYPE_USUFRUCTUARIO
      Relation type 02.
  • 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 an ProductDto to a ProductDestinationDto.
      Overrides:
      map in class ProductMapper
      Parameters:
      productDto - the given ProductDto
      Returns:
      the mapped ProductDestinationDto.
    • createOwnAccoun

      private Boolean createOwnAccoun(es.kukenan.smartfi.microservice.contracts.api.common.IdNamePairDto relatinType)