Class OfferItemDetail
- java.lang.Object
-
- com.broadleafcommerce.order.common.domain.OfferItemDetail
-
- All Implemented Interfaces:
Serializable
public class OfferItemDetail extends Object implements Serializable
A DTO structure that provides offer qualifier or target information for a given item.- Author:
- Sunny Yu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OfferItemDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetItemId()The id of the item that is a qualifier or target.StringgetOfferId()The offer id where this item is a qualifier or target of.intgetOfferUses()The number of times the offer is applied.intgetQuantityPerUsage()The quantity per offer usage of the item that is a qualifier or target.inthashCode()booleanisFulfillmentItemDetail()Indicates if this detail is for a fulfillment item.voidsetFulfillmentItemDetail(boolean fulfillmentItemDetail)Indicates if this detail is for a fulfillment item.voidsetItemId(String itemId)The id of the item that is a qualifier or target.voidsetOfferId(String offerId)The offer id where this item is a qualifier or target of.voidsetOfferUses(int offerUses)The number of times the offer is applied.voidsetQuantityPerUsage(int quantityPerUsage)The quantity per offer usage of the item that is a qualifier or target.StringtoString()
-
-
-
Method Detail
-
getOfferId
public String getOfferId()
The offer id where this item is a qualifier or target of.
-
getItemId
public String getItemId()
The id of the item that is a qualifier or target.
-
getQuantityPerUsage
public int getQuantityPerUsage()
The quantity per offer usage of the item that is a qualifier or target.
-
getOfferUses
public int getOfferUses()
The number of times the offer is applied.
-
isFulfillmentItemDetail
public boolean isFulfillmentItemDetail()
Indicates if this detail is for a fulfillment item.
-
setOfferId
public void setOfferId(String offerId)
The offer id where this item is a qualifier or target of.
-
setItemId
public void setItemId(String itemId)
The id of the item that is a qualifier or target.
-
setQuantityPerUsage
public void setQuantityPerUsage(int quantityPerUsage)
The quantity per offer usage of the item that is a qualifier or target.
-
setOfferUses
public void setOfferUses(int offerUses)
The number of times the offer is applied.
-
setFulfillmentItemDetail
public void setFulfillmentItemDetail(boolean fulfillmentItemDetail)
Indicates if this detail is for a fulfillment item.
-
canEqual
protected boolean canEqual(Object other)
-
-