public class OrderPaymentDTO extends BaseWrapper implements APIWrapper<OrderPayment>, APIUnwrapper<OrderPayment>
| Modifier and Type | Field and Description |
|---|---|
protected Money |
amount |
protected OrderAddressDTO |
billingAddress |
protected Long |
id |
protected Long |
orderId |
protected String |
paymentGatewayType |
protected String |
paymentType |
protected String |
referenceNumber |
protected List<PaymentTransactionDTO> |
transactions |
context| Constructor and Description |
|---|
OrderPaymentDTO() |
| Modifier and Type | Method and Description |
|---|---|
OrderPayment |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(OrderPayment payment,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(OrderPayment payment,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected Long orderId
protected OrderAddressDTO billingAddress
protected Money amount
protected String referenceNumber
protected String paymentType
protected String paymentGatewayType
protected List<PaymentTransactionDTO> transactions
public OrderPayment unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<OrderPayment>public void wrapDetails(OrderPayment payment, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<OrderPayment>public void wrapSummary(OrderPayment payment, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<OrderPayment>Copyright © 2017. All rights reserved.