org.broadleafcommerce.core.payment.domain
Class PaymentInfoImpl
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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
PaymentInfoImpl
public PaymentInfoImpl()
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.