org.broadleafcommerce.core.web.api.wrapper
Class PaymentInfoWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.PaymentInfoWrapper
- All Implemented Interfaces:
- APIUnwrapper<PaymentInfo>, APIWrapper<PaymentInfo>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class PaymentInfoWrapper
- extends BaseWrapper
- implements APIWrapper<PaymentInfo>, APIUnwrapper<PaymentInfo>
This is a JAXB wrapper around PaymentInfo.
User: Elbert Bautista
Date: 4/26/12
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
orderId
protected Long orderId
type
protected String type
address
protected AddressWrapper address
phone
protected PhoneWrapper phone
additionalFields
protected List<MapElementWrapper> additionalFields
amount
protected BigDecimal amount
currency
protected Currency currency
amountItems
protected List<AmountItemWrapper> amountItems
customerIpAddress
protected String customerIpAddress
referenceNumber
protected String referenceNumber
PaymentInfoWrapper
public PaymentInfoWrapper()
wrapDetails
public void wrapDetails(PaymentInfo model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapDetails in interface APIWrapper<PaymentInfo>
wrapSummary
public void wrapSummary(PaymentInfo model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapSummary in interface APIWrapper<PaymentInfo>
unwrap
public PaymentInfo unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context)
- Specified by:
unwrap in interface APIUnwrapper<PaymentInfo>
Copyright © 2013. All Rights Reserved.