Class MinimalOrderItemView
- java.lang.Object
-
- com.broadleafcommerce.order.domain.MinimalOrderItemView
-
public class MinimalOrderItemView extends Object
Minimal limitedOrderItemdata to be included with theOrderFulfillmentItemView.
-
-
Constructor Summary
Constructors Constructor Description MinimalOrderItemView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue>getAttributeChoices()Map<String,Object>getAttributes()com.broadleafcommerce.order.client.domain.ImageAssetRefgetImageAsset()List<com.broadleafcommerce.order.common.domain.Adjustment>getItemAdjustments()Note that the amounts within these adjustments applied to theOrderItemas a whole, and are not necessarily representative of the amounts applied to theOrderFulfillmentItem.StringgetName()List<com.broadleafcommerce.order.common.domain.OverrideDetail>getOverrideDetails()StringgetProductId()StringgetSku()StringgetUnitPriceType()StringgetUri()StringgetVariantId()inthashCode()voidsetAttributeChoices(Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices)voidsetAttributes(Map<String,Object> attributes)voidsetImageAsset(com.broadleafcommerce.order.client.domain.ImageAssetRef imageAsset)voidsetItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments)Note that the amounts within these adjustments applied to theOrderItemas a whole, and are not necessarily representative of the amounts applied to theOrderFulfillmentItem.voidsetName(String name)voidsetOverrideDetails(List<com.broadleafcommerce.order.common.domain.OverrideDetail> overrideDetails)voidsetProductId(String productId)voidsetSku(String sku)voidsetUnitPriceType(String unitPriceType)voidsetUri(String uri)voidsetVariantId(String variantId)StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
- See Also:
OrderItem.getName()
-
getUri
public String getUri()
- See Also:
OrderItem.getUri()
-
getUnitPriceType
public String getUnitPriceType()
- See Also:
OrderItem.getUnitPriceType()
-
getVariantId
public String getVariantId()
- See Also:
OrderItem.getVariantId()
-
getProductId
public String getProductId()
- See Also:
OrderItem.getProductId()
-
getSku
public String getSku()
- See Also:
OrderItem.getSku()
-
getImageAsset
public com.broadleafcommerce.order.client.domain.ImageAssetRef getImageAsset()
- See Also:
OrderItem.getImageAsset()
-
getItemAdjustments
public List<com.broadleafcommerce.order.common.domain.Adjustment> getItemAdjustments()
Note that the amounts within these adjustments applied to theOrderItemas a whole, and are not necessarily representative of the amounts applied to theOrderFulfillmentItem.- See Also:
OrderItem.getItemAdjustments()
-
getAttributeChoices
public Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> getAttributeChoices()
- See Also:
OrderItem.getAttributeChoices()
-
getOverrideDetails
public List<com.broadleafcommerce.order.common.domain.OverrideDetail> getOverrideDetails()
- See Also:
OrderItem.getOverrideDetails()
-
setName
public void setName(String name)
- See Also:
OrderItem.getName()
-
setUri
public void setUri(String uri)
- See Also:
OrderItem.getUri()
-
setUnitPriceType
public void setUnitPriceType(String unitPriceType)
- See Also:
OrderItem.getUnitPriceType()
-
setVariantId
public void setVariantId(String variantId)
- See Also:
OrderItem.getVariantId()
-
setProductId
public void setProductId(String productId)
- See Also:
OrderItem.getProductId()
-
setSku
public void setSku(String sku)
- See Also:
OrderItem.getSku()
-
setImageAsset
public void setImageAsset(com.broadleafcommerce.order.client.domain.ImageAssetRef imageAsset)
- See Also:
OrderItem.getImageAsset()
-
setItemAdjustments
public void setItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments)
Note that the amounts within these adjustments applied to theOrderItemas a whole, and are not necessarily representative of the amounts applied to theOrderFulfillmentItem.- See Also:
OrderItem.getItemAdjustments()
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
- See Also:
OrderItem.getAttributes()
-
setAttributeChoices
public void setAttributeChoices(Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices)
- See Also:
OrderItem.getAttributeChoices()
-
setOverrideDetails
public void setOverrideDetails(List<com.broadleafcommerce.order.common.domain.OverrideDetail> overrideDetails)
- See Also:
OrderItem.getOverrideDetails()
-
canEqual
protected boolean canEqual(Object other)
-
-