public class PaymentInfoWrapper extends BaseWrapper implements APIWrapper<PaymentInfo>, APIUnwrapper<PaymentInfo>
| Modifier and Type | Field and Description |
|---|---|
protected List<MapElementWrapper> |
additionalFields |
protected AddressWrapper |
address |
protected BigDecimal |
amount |
protected List<AmountItemWrapper> |
amountItems |
protected Currency |
currency |
protected String |
customerIpAddress |
protected Long |
id |
protected Long |
orderId |
protected PhoneWrapper |
phone |
protected String |
referenceNumber |
protected String |
type |
context| Constructor and Description |
|---|
PaymentInfoWrapper() |
| Modifier and Type | Method and Description |
|---|---|
PaymentInfo |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(PaymentInfo model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(PaymentInfo model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected Long orderId
protected String type
protected AddressWrapper address
protected PhoneWrapper phone
protected List<MapElementWrapper> additionalFields
protected BigDecimal amount
protected Currency currency
protected List<AmountItemWrapper> amountItems
protected String customerIpAddress
protected String referenceNumber
public void wrapDetails(PaymentInfo model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<PaymentInfo>public void wrapSummary(PaymentInfo model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<PaymentInfo>public PaymentInfo unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<PaymentInfo>Copyright © 2014. All Rights Reserved.