org.broadleafcommerce.core.payment.domain
Class AmountItemImpl
java.lang.Object
org.broadleafcommerce.core.payment.domain.AmountItemImpl
- All Implemented Interfaces:
- AmountItem
@Entity
public class AmountItemImpl
- extends Object
- implements AmountItem
- Author:
- jfischer
id
protected Long id
shortDescription
protected String shortDescription
description
protected String description
unitPrice
protected BigDecimal unitPrice
quantity
protected Long quantity
paymentInfo
protected PaymentInfo paymentInfo
AmountItemImpl
public AmountItemImpl()
getId
public Long getId()
- Specified by:
getId in interface AmountItem
setId
public void setId(Long id)
- Specified by:
setId in interface AmountItem
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription in interface AmountItem
setShortDescription
public void setShortDescription(String shortDescription)
- Specified by:
setShortDescription in interface AmountItem
getDescription
public String getDescription()
- Specified by:
getDescription in interface AmountItem
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface AmountItem
getUnitPrice
public BigDecimal getUnitPrice()
- Specified by:
getUnitPrice in interface AmountItem
setUnitPrice
public void setUnitPrice(BigDecimal unitPrice)
- Specified by:
setUnitPrice in interface AmountItem
getQuantity
public Long getQuantity()
- Specified by:
getQuantity in interface AmountItem
setQuantity
public void setQuantity(Long quantity)
- Specified by:
setQuantity in interface AmountItem
getPaymentInfo
public PaymentInfo getPaymentInfo()
- Specified by:
getPaymentInfo in interface AmountItem
setPaymentInfo
public void setPaymentInfo(PaymentInfo paymentInfo)
- Specified by:
setPaymentInfo in interface AmountItem
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012. All Rights Reserved.