Class ComprehensiveProduct
java.lang.Object
com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
com.broadleafcommerce.dataexchange.domain.product.ComprehensiveProduct
- All Implemented Interfaces:
ExchangeObject,Translatable,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanReturns the entity type that this object represents at the service layer.getName()Any prices associated with this product.System-wide unique identifier to configure specific pricing for the product.getSku()Any inventory records associated with this product.getUpc()inthashCode()voidsetAssets(List<ProductAsset> assets) voidsetAvailableOnline(Boolean availableOnline) voidsetBusinessType(String businessType) voidsetDescription(String description) voidsetExternalId(String externalId) voidsetInventoryType(String inventoryType) voidvoidvoidAny prices associated with this product.voidsetPricingKey(String pricingKey) System-wide unique identifier to configure specific pricing for the product.voidsetProductTags(List<ProductTag> productTags) voidsetProductType(String productType) voidsetSearchable(Boolean searchable) voidvoidsetSkuInventories(List<SkuInventory> skuInventories) Any inventory records associated with this product.voidsetTranslations(List<Translation> translations) voidvoidsetVariants(List<Variant> variants) toString()Methods inherited from class com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
getId, isNewlyCreated, setId, setNewlyCreatedMethods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
getCorrelationId, getCustomProperties, getParentCorrelationId, setCorrelationId, setCustomProperties, setCustomProperty, setParentCorrelationIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, setContextState
-
Constructor Details
-
ComprehensiveProduct
public ComprehensiveProduct()
-
-
Method Details
-
getEntityType
Description copied from interface:TranslatableReturns the entity type that this object represents at the service layer. This should be set withTranslation.setEntityType(String)before persistence.For example, this would be "com.broadleafcommerce.catalog.provider.jpa.domain.product.JpaVariant" for a variant entity. It is also acceptable to set this to the extended entity type.
- Specified by:
getEntityTypein interfaceTranslatable- Returns:
- the entity type
-
getName
-
getDescription
-
getSku
-
getUpc
-
getExternalId
-
getOnline
-
getInventoryType
-
getAvailableOnline
-
getSearchable
-
getProductType
-
getBusinessType
-
getPricingKey
System-wide unique identifier to configure specific pricing for the product. Relevant if pricing data is managed in a separate system or data store, like the Broadleaf pricing services. This is usually aUUIDbut could be any unique value. -
getTranslations
- Specified by:
getTranslationsin interfaceTranslatable
-
getAssets
-
getVariants
-
getSkuInventories
Any inventory records associated with this product. -
getPrices
Any prices associated with this product. -
getProductTags
-
setName
-
setDescription
-
setSku
-
setUpc
-
setExternalId
-
setOnline
-
setInventoryType
-
setAvailableOnline
-
setSearchable
-
setProductType
-
setBusinessType
-
setPricingKey
System-wide unique identifier to configure specific pricing for the product. Relevant if pricing data is managed in a separate system or data store, like the Broadleaf pricing services. This is usually aUUIDbut could be any unique value. -
setTranslations
- Specified by:
setTranslationsin interfaceTranslatable
-
setAssets
-
setVariants
-
setSkuInventories
Any inventory records associated with this product. -
setPrices
Any prices associated with this product. -
setProductTags
-
toString
- Overrides:
toStringin classEntityExchangeObject
-
equals
- Overrides:
equalsin classEntityExchangeObject
-
canEqual
- Overrides:
canEqualin classEntityExchangeObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classEntityExchangeObject
-