Class ProductJpaEntity
java.lang.Object
com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
Persistence representation of catalog products. The entity is kept in the
infrastructure package so JPA mapping choices do not leak into the product
stock rule.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProductJpaEntity(Long id, String sku, String name, BigDecimal price, int availableQuantity) -
Method Summary
-
Constructor Details
-
ProductJpaEntity
protected ProductJpaEntity() -
ProductJpaEntity
-
-
Method Details
-
apply
-
getId
-
getSku
-
getName
-
getPrice
-
getAvailableQuantity
public int getAvailableQuantity()
-