org.broadleafcommerce.core.payment.domain
Class PaymentInfoImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.domain.PaymentInfoImpl
All Implemented Interfaces:
Serializable, PaymentInfo

@Entity
public class PaymentInfoImpl
extends Object
implements PaymentInfo

See Also:
Serialized Form

Field Summary
protected  Map<String,String> additionalFields
           
protected  Address address
           
protected  BigDecimal amount
           
protected  List<AmountItem> amountItems
           
protected  String customerIpAddress
           
protected  Long id
           
protected  Order order
           
protected  Phone phone
           
protected  String referenceNumber
           
protected  Map<String,String[]> requestParameterMap
           
protected  String type
           
 
Constructor Summary
PaymentInfoImpl()
           
 
Method Summary
 Referenced createEmptyReferenced()
           
 boolean equals(Object obj)
           
 Map<String,String> getAdditionalFields()
           
 Address getAddress()
           
 Money getAmount()
           
 List<AmountItem> getAmountItems()
           
 String getCustomerIpAddress()
           
 Long getId()
           
 Order getOrder()
           
 Phone getPhone()
           
 String getReferenceNumber()
           
 Map<String,String[]> getRequestParameterMap()
           
 PaymentInfoType getType()
           
 int hashCode()
           
 void setAdditionalFields(Map<String,String> additionalFields)
           
 void setAddress(Address address)
           
 void setAmount(Money amount)
           
 void setAmountItems(List<AmountItem> amountItems)
           
 void setCustomerIpAddress(String customerIpAddress)
           
 void setId(Long id)
           
 void setOrder(Order order)
           
 void setPhone(Phone phone)
           
 void setReferenceNumber(String referenceNumber)
           
 void setRequestParameterMap(Map<String,String[]> requestParameterMap)
           
 void setType(PaymentInfoType type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

order

protected Order order

address

protected Address address

phone

protected Phone phone

amount

protected BigDecimal amount

referenceNumber

protected String referenceNumber

type

protected String type

amountItems

protected List<AmountItem> amountItems

customerIpAddress

protected String customerIpAddress

additionalFields

protected Map<String,String> additionalFields

requestParameterMap

protected Map<String,String[]> requestParameterMap
Constructor Detail

PaymentInfoImpl

public PaymentInfoImpl()
Method Detail

getAmount

public Money getAmount()
Specified by:
getAmount in interface PaymentInfo

setAmount

public void setAmount(Money amount)
Specified by:
setAmount in interface PaymentInfo

getId

public Long getId()
Specified by:
getId in interface PaymentInfo

setId

public void setId(Long id)
Specified by:
setId in interface PaymentInfo

getOrder

public Order getOrder()
Specified by:
getOrder in interface PaymentInfo

setOrder

public void setOrder(Order order)
Specified by:
setOrder in interface PaymentInfo

getAddress

public Address getAddress()
Specified by:
getAddress in interface PaymentInfo

setAddress

public void setAddress(Address address)
Specified by:
setAddress in interface PaymentInfo

getPhone

public Phone getPhone()
Specified by:
getPhone in interface PaymentInfo

setPhone

public void setPhone(Phone phone)
Specified by:
setPhone in interface PaymentInfo

getReferenceNumber

public String getReferenceNumber()
Specified by:
getReferenceNumber in interface PaymentInfo

setReferenceNumber

public void setReferenceNumber(String referenceNumber)
Specified by:
setReferenceNumber in interface PaymentInfo

getType

public PaymentInfoType getType()
Specified by:
getType in interface PaymentInfo

setType

public void setType(PaymentInfoType type)
Specified by:
setType in interface PaymentInfo

getAmountItems

public List<AmountItem> getAmountItems()
Specified by:
getAmountItems in interface PaymentInfo

setAmountItems

public void setAmountItems(List<AmountItem> amountItems)
Specified by:
setAmountItems in interface PaymentInfo

getCustomerIpAddress

public String getCustomerIpAddress()
Specified by:
getCustomerIpAddress in interface PaymentInfo

setCustomerIpAddress

public void setCustomerIpAddress(String customerIpAddress)
Specified by:
setCustomerIpAddress in interface PaymentInfo

getAdditionalFields

public Map<String,String> getAdditionalFields()
Specified by:
getAdditionalFields in interface PaymentInfo

setAdditionalFields

public void setAdditionalFields(Map<String,String> additionalFields)
Specified by:
setAdditionalFields in interface PaymentInfo

getRequestParameterMap

public Map<String,String[]> getRequestParameterMap()
Specified by:
getRequestParameterMap in interface PaymentInfo

setRequestParameterMap

public void setRequestParameterMap(Map<String,String[]> requestParameterMap)
Specified by:
setRequestParameterMap in interface PaymentInfo

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

createEmptyReferenced

public Referenced createEmptyReferenced()
Specified by:
createEmptyReferenced in interface PaymentInfo


Copyright © 2012. All Rights Reserved.