org.broadleafcommerce.core.web.api.wrapper
public class PaymentInfoWrapper extends BaseWrapper implements APIWrapper<PaymentInfo>, APIUnwrapper<PaymentInfo>
| Modifier and Type | Field and Description |
|---|---|
protected List<MapElementWrapper> |
additionalFields |
protected AddressWrapper |
address |
protected Money |
amount |
protected List<AmountItemWrapper> |
amountItems |
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 |
wrap(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 Money amount
protected List<AmountItemWrapper> amountItems
protected String customerIpAddress
protected String referenceNumber
public void wrap(PaymentInfo model, javax.servlet.http.HttpServletRequest request)
wrap in interface APIWrapper<PaymentInfo>public PaymentInfo unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<PaymentInfo>Copyright © 2015. All Rights Reserved.