public class OrderPaymentWrapper extends BaseWrapper implements APIWrapper<OrderPayment>, APIUnwrapper<OrderPayment>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected AddressWrapper |
billingAddress |
protected Currency |
currency |
protected String |
gatewayType |
protected Long |
id |
protected Long |
orderId |
protected String |
referenceNumber |
protected List<PaymentTransactionWrapper> |
transactions |
protected String |
type |
context| Constructor and Description |
|---|
OrderPaymentWrapper() |
| Modifier and Type | Method and Description |
|---|---|
OrderPayment |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(OrderPayment model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(OrderPayment model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected Long orderId
protected String type
protected AddressWrapper billingAddress
protected BigDecimal amount
protected Currency currency
protected String referenceNumber
protected String gatewayType
protected List<PaymentTransactionWrapper> transactions
public void wrapDetails(OrderPayment model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<OrderPayment>public void wrapSummary(OrderPayment model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<OrderPayment>public OrderPayment unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<OrderPayment>Copyright © 2015. All Rights Reserved.