public class PaymentTransactionWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.PaymentTransaction>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.PaymentTransaction>
Modifier and Type | Field and Description |
---|---|
protected List<org.broadleafcommerce.common.rest.api.wrapper.MapElementWrapper> |
additionalFields |
protected BigDecimal |
amount |
protected Character |
archived |
protected Currency |
currency |
protected String |
customerIpAddress |
protected Long |
id |
protected Long |
orderPaymentId |
protected Long |
parentTransactionId |
protected String |
rawResponse |
protected Boolean |
success |
protected String |
type |
Constructor and Description |
---|
PaymentTransactionWrapper() |
Modifier and Type | Method and Description |
---|---|
List<org.broadleafcommerce.common.rest.api.wrapper.MapElementWrapper> |
getAdditionalFields() |
BigDecimal |
getAmount() |
Character |
getArchived() |
Currency |
getCurrency() |
String |
getCustomerIpAddress() |
Long |
getId() |
Long |
getOrderPaymentId() |
Long |
getParentTransactionId() |
String |
getRawResponse() |
Boolean |
getSuccess() |
String |
getType() |
void |
setAdditionalFields(List<org.broadleafcommerce.common.rest.api.wrapper.MapElementWrapper> additionalFields) |
void |
setAmount(BigDecimal amount) |
void |
setArchived(Character archived) |
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) |
org.broadleafcommerce.core.payment.domain.PaymentTransaction |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(org.broadleafcommerce.core.payment.domain.PaymentTransaction model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.payment.domain.PaymentTransaction model,
javax.servlet.http.HttpServletRequest request) |
protected 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<org.broadleafcommerce.common.rest.api.wrapper.MapElementWrapper> additionalFields
protected Character archived
public void wrapDetails(org.broadleafcommerce.core.payment.domain.PaymentTransaction model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.PaymentTransaction>
public void wrapSummary(org.broadleafcommerce.core.payment.domain.PaymentTransaction model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.PaymentTransaction>
public org.broadleafcommerce.core.payment.domain.PaymentTransaction unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap
in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.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<org.broadleafcommerce.common.rest.api.wrapper.MapElementWrapper> getAdditionalFields()
public void setAdditionalFields(List<org.broadleafcommerce.common.rest.api.wrapper.MapElementWrapper> additionalFields)
additionalFields
- the additionalFields to setpublic Character getArchived()
public void setArchived(Character archived)
Copyright © 2020. All rights reserved.