Class ProductDomain
java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.backoffice.domain.ProductDomain
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull StringBack office product identifier.private final @NotNull StringBack office product subsystem.private booleanFlag this product to be added to the products response, true by default.private final booleanFlag that marks this product as a not € currency product.private final @NotNull es.kukenan.smartfi.microservice.contracts.api.products.ProductDtoBack office product. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
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 productDtoBack office product. -
isCurrency
private final boolean isCurrencyFlag that marks this product as a not € currency product. -
includedInResponse
private boolean includedInResponseFlag this product to be added to the products response, true by default.
-
-
Constructor Details
-
ProductDomain
public ProductDomain()
-