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 |
|---|---|
List<MapElementWrapper> |
getAdditionalFields() |
BigDecimal |
getAmount() |
Currency |
getCurrency() |
String |
getCustomerIpAddress() |
Long |
getId() |
Long |
getOrderPaymentId() |
Long |
getParentTransactionId() |
String |
getRawResponse() |
Boolean |
getSuccess() |
String |
getType() |
void |
setAdditionalFields(List<MapElementWrapper> additionalFields) |
void |
setAmount(BigDecimal amount) |
void |
setCurrency(Currency currency) |
void |
setCustomerIpAddress(String customerIpAddress) |
void |
setId(Long id) |
void |
setOrderPaymentId(Long orderPaymentId) |
void |
setParentTransactionId(Long parentTransactionId) |
void |
setRawResponse(String rawResponse) |
void |
setSuccess(Boolean success) |
void |
setType(String type) |
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) |
createElementWrappers, 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>public Long getId()
public void setId(Long id)
id - the id to setpublic Long getOrderPaymentId()
public void setOrderPaymentId(Long orderPaymentId)
orderPaymentId - the orderPaymentId to setpublic Long getParentTransactionId()
public void setParentTransactionId(Long parentTransactionId)
parentTransactionId - the parentTransactionId to setpublic String getType()
public void setType(String type)
type - the type to setpublic String getCustomerIpAddress()
public void setCustomerIpAddress(String customerIpAddress)
customerIpAddress - the customerIpAddress to setpublic String getRawResponse()
public void setRawResponse(String rawResponse)
rawResponse - the rawResponse to setpublic Boolean getSuccess()
public void setSuccess(Boolean success)
success - the success to setpublic BigDecimal getAmount()
public void setAmount(BigDecimal amount)
amount - the amount to setpublic Currency getCurrency()
public void setCurrency(Currency currency)
currency - the currency to setpublic List<MapElementWrapper> getAdditionalFields()
public void setAdditionalFields(List<MapElementWrapper> additionalFields)
additionalFields - the additionalFields to setCopyright © 2015. All Rights Reserved.