org.broadleafcommerce.core.payment.domain
Class PaymentInfoImpl

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

@Entity
public class PaymentInfoImpl
extends java.lang.Object
implements PaymentInfo

See Also:
Serialized Form

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

Field Detail

id

protected java.lang.Long id

order

protected Order order

address

protected Address address

phone

protected Phone phone

amount

protected java.math.BigDecimal amount

referenceNumber

protected java.lang.String referenceNumber

type

protected java.lang.String type

amountItems

protected java.util.List<AmountItem> amountItems

customerIpAddress

protected java.lang.String customerIpAddress

additionalFields

protected java.util.Map<java.lang.String,java.lang.String> additionalFields
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 java.lang.Long getId()
Specified by:
getId in interface PaymentInfo

setId

public void setId(java.lang.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 java.lang.String getReferenceNumber()
Specified by:
getReferenceNumber in interface PaymentInfo

setReferenceNumber

public void setReferenceNumber(java.lang.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 java.util.List<AmountItem> getAmountItems()
Specified by:
getAmountItems in interface PaymentInfo

setAmountItems

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

getCustomerIpAddress

public java.lang.String getCustomerIpAddress()
Specified by:
getCustomerIpAddress in interface PaymentInfo

setCustomerIpAddress

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

getAdditionalFields

public java.util.Map<java.lang.String,java.lang.String> getAdditionalFields()
Specified by:
getAdditionalFields in interface PaymentInfo

setAdditionalFields

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2012. All Rights Reserved.