public class PaymentTransactionDTO extends BaseWrapper implements APIWrapper<PaymentTransaction>, APIUnwrapper<PaymentTransaction>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalFields |
protected Money |
amount |
protected Date |
date |
protected Long |
id |
protected Boolean |
isSaveToken |
protected PaymentTransactionDTO |
parentTransaction |
protected Boolean |
successful |
protected String |
transactionType |
context| Constructor and Description |
|---|
PaymentTransactionDTO() |
| Modifier and Type | Method and Description |
|---|---|
PaymentTransaction |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(PaymentTransaction transaction,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(PaymentTransaction transaction,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected PaymentTransactionDTO parentTransaction
protected Money amount
protected Date date
protected String transactionType
protected Boolean successful
protected Boolean isSaveToken
public PaymentTransaction unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<PaymentTransaction>public void wrapDetails(PaymentTransaction transaction, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<PaymentTransaction>public void wrapSummary(PaymentTransaction transaction, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<PaymentTransaction>Copyright © 2017. All rights reserved.