Class ComprehensiveProduct
java.lang.Object
com.broadleafcommerce.dataexchange.domain.catalog.product.AbstractPassthroughProperties
com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
com.broadleafcommerce.dataexchange.domain.catalog.product.ComprehensiveProduct
- All Implemented Interfaces:
PassthroughProperties
,ExchangeObject
,Translatable
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getBrand()
Returns the entity type that this object represents at the service layer.The options to generate for this product.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()
int
hashCode()
void
setAssets
(List<ProductAsset> assets) void
setAvailableOnline
(Boolean availableOnline) void
setBrand
(DataDrivenEnum brand) void
setBusinessType
(String businessType) void
setDescription
(String description) void
setExternalId
(String externalId) void
setGenerateOptions
(List<GenerateProductOption> generateOptions) The options to generate for this product.void
setInventoryType
(String inventoryType) void
setMerchandisingType
(DataDrivenEnum merchandisingType) void
void
void
Any prices associated with this product.void
setPricingKey
(String pricingKey) System-wide unique identifier to configure specific pricing for the product.void
setProductTags
(List<ProductTag> productTags) void
setProductType
(String productType) void
setSearchable
(Boolean searchable) void
void
setSkuInventories
(List<SkuInventory> skuInventories) Any inventory records associated with this product.void
setTargetDemographic
(DataDrivenEnum targetDemographic) void
setTranslations
(List<Translation> translations) void
void
setVariants
(List<Variant> variants) toString()
Methods inherited from class com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
containsCustomProperty, getCustomProperties, getCustomProperty, getId, setCustomProperties, setCustomProperty, setId
Methods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
getCorrelationId, getJsonPath, getParentCorrelationId, isNewlyCreated, setCorrelationId, setJsonPath, setNewlyCreated, setParentCorrelationId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, setContextState
-
Constructor Details
-
ComprehensiveProduct
public ComprehensiveProduct()
-
-
Method Details
-
getEntityType
Description copied from interface:Translatable
Returns 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:
getEntityType
in 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 aUUID
but could be any unique value. -
getTranslations
- Specified by:
getTranslations
in interfaceTranslatable
-
getAssets
-
getVariants
-
getSkuInventories
Any inventory records associated with this product. -
getPrices
Any prices associated with this product. -
getProductTags
-
getBrand
-
getMerchandisingType
-
getTargetDemographic
-
getGenerateOptions
The options to generate for this product. -
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 aUUID
but could be any unique value. -
setTranslations
- Specified by:
setTranslations
in interfaceTranslatable
-
setAssets
-
setVariants
-
setSkuInventories
Any inventory records associated with this product. -
setPrices
Any prices associated with this product. -
setProductTags
-
setBrand
-
setMerchandisingType
-
setTargetDemographic
-
setGenerateOptions
The options to generate for this product. -
equals
- Overrides:
equals
in classEntityExchangeObject
-
canEqual
- Overrides:
canEqual
in classEntityExchangeObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEntityExchangeObject
-
toString
- Overrides:
toString
in classEntityExchangeObject
-