org.broadleafcommerce.core.payment.domain
Class PaymentInfoImpl
java.lang.Object
org.broadleafcommerce.core.payment.domain.PaymentInfoImpl
- All Implemented Interfaces:
- Serializable, PaymentInfo
@Entity
public class PaymentInfoImpl
- extends Object
- implements PaymentInfo
- See Also:
- Serialized Form
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
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 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.