public class OrderCustomerDTO extends BaseWrapper implements APIWrapper<OrderCustomer>, APIUnwrapper<OrderCustomer>
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonNode |
customerAttributesJson |
protected String |
emailAddress |
protected Long |
externalId |
protected String |
firstName |
protected Long |
id |
protected Boolean |
isTaxExempt |
protected String |
lastName |
protected String |
taxExemptionCode |
context| Constructor and Description |
|---|
OrderCustomerDTO() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomerAttributesJson() |
void |
setCustomerAttributesJson(com.fasterxml.jackson.databind.JsonNode node) |
OrderCustomer |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(OrderCustomer customer,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(OrderCustomer customer,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected Long externalId
protected String firstName
protected String lastName
protected String emailAddress
protected Boolean isTaxExempt
protected String taxExemptionCode
protected com.fasterxml.jackson.databind.JsonNode customerAttributesJson
public String getCustomerAttributesJson()
public void setCustomerAttributesJson(com.fasterxml.jackson.databind.JsonNode node)
public OrderCustomer unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<OrderCustomer>public void wrapDetails(OrderCustomer customer, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<OrderCustomer>public void wrapSummary(OrderCustomer customer, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<OrderCustomer>Copyright © 2017. All rights reserved.