public class PaymentTransactionWrapper extends BaseWrapper implements APIWrapper<PaymentTransaction>, APIUnwrapper<PaymentTransaction>
| Modifier and Type | Field and Description |
|---|---|
protected List<MapElementWrapper> |
additionalFields |
protected BigDecimal |
amount |
protected Currency |
currency |
protected String |
customerIpAddress |
protected Long |
id |
protected Long |
orderPaymentId |
protected Long |
parentTransactionId |
protected String |
rawResponse |
protected Boolean |
success |
protected String |
type |
context| Constructor and Description |
|---|
PaymentTransactionWrapper() |
| Modifier and Type | Method and Description |
|---|---|
PaymentTransaction |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(PaymentTransaction model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(PaymentTransaction model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected Long orderPaymentId
protected Long parentTransactionId
protected String type
protected String customerIpAddress
protected String rawResponse
protected Boolean success
protected BigDecimal amount
protected Currency currency
protected List<MapElementWrapper> additionalFields
public void wrapDetails(PaymentTransaction model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<PaymentTransaction>public void wrapSummary(PaymentTransaction model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<PaymentTransaction>public PaymentTransaction unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<PaymentTransaction>Copyright © 2014. All Rights Reserved.