Class CandidateItemOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.CandidateItemOfferImpl
- All Implemented Interfaces:
Serializable,Cloneable,org.broadleafcommerce.common.copy.MultiTenantCloneable<CandidateItemOffer>,CandidateItemOffer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCloneable(CandidateItemOffer itemOffer) clone()<G extends CandidateItemOffer>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) booleanorg.broadleafcommerce.common.money.MoneygetId()getOffer()intinthashCode()voidsetDiscountedPrice(org.broadleafcommerce.common.money.Money discountedPrice) voidvoidvoidsetOrderItem(OrderItem orderItem)
-
Field Details
-
LOG
public static final org.apache.commons.logging.Log LOG -
id
-
orderItem
-
offer
-
deproxiedOffer
-
-
Constructor Details
-
CandidateItemOfferImpl
public CandidateItemOfferImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceCandidateItemOffer
-
setId
- Specified by:
setIdin interfaceCandidateItemOffer
-
getOrderItem
- Specified by:
getOrderItemin interfaceCandidateItemOffer
-
setOrderItem
- Specified by:
setOrderItemin interfaceCandidateItemOffer
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceCandidateItemOffer
-
getOffer
- Specified by:
getOfferin interfaceCandidateItemOffer
-
setOffer
- Specified by:
setOfferin interfaceCandidateItemOffer
-
getDiscountedPrice
public org.broadleafcommerce.common.money.Money getDiscountedPrice()- Specified by:
getDiscountedPricein interfaceCandidateItemOffer
-
setDiscountedPrice
public void setDiscountedPrice(org.broadleafcommerce.common.money.Money discountedPrice) - Specified by:
setDiscountedPricein interfaceCandidateItemOffer
-
checkCloneable
public void checkCloneable(CandidateItemOffer itemOffer) throws CloneNotSupportedException, SecurityException, NoSuchMethodException -
clone
- Specified by:
clonein interfaceCandidateItemOffer- Overrides:
clonein classObject
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends CandidateItemOffer> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<CandidateItemOffer>- Throws:
CloneNotSupportedException
-