org.broadleafcommerce.core.payment.domain
Class AmountItemImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.domain.AmountItemImpl
All Implemented Interfaces:
AmountItem

@Entity
public class AmountItemImpl
extends Object
implements AmountItem

Author:
jfischer

Field Summary
protected  String description
           
protected  Long id
           
protected  PaymentInfo paymentInfo
           
protected  Long quantity
           
protected  String shortDescription
           
protected  String systemId
           
protected  BigDecimal unitPrice
           
 
Constructor Summary
AmountItemImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 Long getId()
           
 PaymentInfo getPaymentInfo()
           
 Long getQuantity()
           
 String getShortDescription()
           
 String getSystemId()
           
 BigDecimal getUnitPrice()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setId(Long id)
           
 void setPaymentInfo(PaymentInfo paymentInfo)
           
 void setQuantity(Long quantity)
           
 void setShortDescription(String shortDescription)
           
 void setSystemId(String systemId)
           
 void setUnitPrice(BigDecimal unitPrice)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

shortDescription

protected String shortDescription

description

protected String description

unitPrice

protected BigDecimal unitPrice

quantity

protected Long quantity

systemId

protected String systemId

paymentInfo

protected PaymentInfo paymentInfo
Constructor Detail

AmountItemImpl

public AmountItemImpl()
Method Detail

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

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface AmountItem

setSystemId

public void setSystemId(String systemId)
Specified by:
setSystemId 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.