org.broadleafcommerce.core.order.domain
Class DiscreteOrderItemFeePriceImpl
java.lang.Object
org.broadleafcommerce.core.order.domain.DiscreteOrderItemFeePriceImpl
- All Implemented Interfaces:
- Serializable, DiscreteOrderItemFeePrice
@Entity
public class DiscreteOrderItemFeePriceImpl
- extends Object
- implements DiscreteOrderItemFeePrice
- See Also:
- Serialized Form
LOG
public static final org.apache.commons.logging.Log LOG
id
protected Long id
discreteOrderItem
protected DiscreteOrderItem discreteOrderItem
amount
protected BigDecimal amount
DiscreteOrderItemFeePriceImpl
public DiscreteOrderItemFeePriceImpl()
getId
public Long getId()
- Specified by:
getId in interface DiscreteOrderItemFeePrice
setId
public void setId(Long id)
- Specified by:
setId in interface DiscreteOrderItemFeePrice
getDiscreteOrderItem
public DiscreteOrderItem getDiscreteOrderItem()
- Specified by:
getDiscreteOrderItem in interface DiscreteOrderItemFeePrice
setDiscreteOrderItem
public void setDiscreteOrderItem(DiscreteOrderItem discreteOrderItem)
- Specified by:
setDiscreteOrderItem in interface DiscreteOrderItemFeePrice
getAmount
public Money getAmount()
- Specified by:
getAmount in interface DiscreteOrderItemFeePrice
setAmount
public void setAmount(Money amount)
- Specified by:
setAmount in interface DiscreteOrderItemFeePrice
getName
public String getName()
- Specified by:
getName in interface DiscreteOrderItemFeePrice
setName
public void setName(String name)
- Specified by:
setName in interface DiscreteOrderItemFeePrice
getReportingCode
public String getReportingCode()
- Specified by:
getReportingCode in interface DiscreteOrderItemFeePrice
setReportingCode
public void setReportingCode(String reportingCode)
- Specified by:
setReportingCode in interface DiscreteOrderItemFeePrice
checkCloneable
public void checkCloneable(DiscreteOrderItemFeePrice discreteFeePrice)
throws CloneNotSupportedException,
SecurityException,
NoSuchMethodException
- Throws:
CloneNotSupportedException
SecurityException
NoSuchMethodException
convertToMoney
protected Money convertToMoney(BigDecimal amount)
clone
public DiscreteOrderItemFeePrice clone()
- Specified by:
clone in interface DiscreteOrderItemFeePrice- Overrides:
clone in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013. All Rights Reserved.