java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.backoffice.domain.ProductDomain

public class ProductDomain extends Object
Class that holds all required information about a single product. It transports the product details encapsulated in the Dto (for convenience) and contains other required information not present in it.
  • Field Details

    • coreProductId

      @NotNull private final @NotNull String coreProductId
      Back office product identifier. This is not the identifier used in Skyline but the product identifier in the back office. It is not present (not always at least and can not be generalized) in the dto, so it is added here.
    • coreSubsystem

      @NotNull private final @NotNull String coreSubsystem
      Back office product subsystem. It is not present in the dto, so it is added here.
    • productDto

      @NotNull private final @NotNull es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto
      Back office product.
    • isCurrency

      private final boolean isCurrency
      Flag that marks this product as a not € currency product.
    • includedInResponse

      private boolean includedInResponse
      Flag this product to be added to the products response, true by default.
  • Constructor Details

    • ProductDomain

      public ProductDomain()