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  CustomerPayment customerPayment
           
protected  List<PaymentInfoDetail> details
           
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()
           
 BroadleafCurrency getCurrency()
           
 String getCustomerIpAddress()
           
 CustomerPayment getCustomerPayment()
           
 Money getDetailsAmountForType(PaymentInfoDetailType type)
           
 Long getId()
           
 Order getOrder()
           
 Money getPaymentCapturedAmount()
           
 Money getPaymentCreditedAmount()
           
 List<PaymentInfoDetail> getPaymentInfoDetails()
           
 Phone getPhone()
           
 String getReferenceNumber()
           
 Map<String,String[]> getRequestParameterMap()
           
 Money getReverseAuthAmount()
           
 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 setCustomerPayment(CustomerPayment customerPayment)
           
 void setId(Long id)
           
 void setOrder(Order order)
           
 void setPaymentInfoDetails(List<PaymentInfoDetail> details)
           
 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

details

protected List<PaymentInfoDetail> details

requestParameterMap

protected Map<String,String[]> requestParameterMap

customerPayment

protected CustomerPayment customerPayment
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

getCustomerPayment

public CustomerPayment getCustomerPayment()
Specified by:
getCustomerPayment in interface PaymentInfo

setCustomerPayment

public void setCustomerPayment(CustomerPayment customerPayment)
Specified by:
setCustomerPayment in interface PaymentInfo

getPaymentInfoDetails

public List<PaymentInfoDetail> getPaymentInfoDetails()
Specified by:
getPaymentInfoDetails in interface PaymentInfo

setPaymentInfoDetails

public void setPaymentInfoDetails(List<PaymentInfoDetail> details)
Specified by:
setPaymentInfoDetails in interface PaymentInfo

getPaymentCapturedAmount

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

getPaymentCreditedAmount

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

getReverseAuthAmount

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

getDetailsAmountForType

public Money getDetailsAmountForType(PaymentInfoDetailType type)

getCurrency

public BroadleafCurrency getCurrency()
Specified by:
getCurrency 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 © 2013. All Rights Reserved.