com.broadleafcommerce.core.rest.api.v2.wrapper.OrderPaymentWrapper
User: Elbert Bautista
Date: 4/26/12@Deprecated public class OrderPaymentWrapper extends BaseWrapper implements APIWrapper<OrderPayment>, APIUnwrapper<OrderPayment>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount
Deprecated.
|
protected AddressWrapper |
billingAddress
Deprecated.
|
protected Currency |
currency
Deprecated.
|
protected String |
gatewayType
Deprecated.
|
protected Long |
id
Deprecated.
|
protected Long |
orderId
Deprecated.
|
protected String |
referenceNumber
Deprecated.
|
protected List<PaymentTransactionWrapper> |
transactions
Deprecated.
|
protected String |
type
Deprecated.
|
context| Constructor and Description |
|---|
OrderPaymentWrapper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAmount()
Deprecated.
|
AddressWrapper |
getBillingAddress()
Deprecated.
|
Currency |
getCurrency()
Deprecated.
|
String |
getGatewayType()
Deprecated.
|
Long |
getId()
Deprecated.
|
Long |
getOrderId()
Deprecated.
|
String |
getReferenceNumber()
Deprecated.
|
List<PaymentTransactionWrapper> |
getTransactions()
Deprecated.
|
String |
getType()
Deprecated.
|
void |
setAmount(BigDecimal amount)
Deprecated.
|
void |
setBillingAddress(AddressWrapper billingAddress)
Deprecated.
|
void |
setCurrency(Currency currency)
Deprecated.
|
void |
setGatewayType(String gatewayType)
Deprecated.
|
void |
setId(Long id)
Deprecated.
|
void |
setOrderId(Long orderId)
Deprecated.
|
void |
setReferenceNumber(String referenceNumber)
Deprecated.
|
void |
setTransactions(List<PaymentTransactionWrapper> transactions)
Deprecated.
|
void |
setType(String type)
Deprecated.
|
OrderPayment |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context)
Deprecated.
|
void |
wrapDetails(OrderPayment model,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
void |
wrapSummary(OrderPayment model,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapperprotected Long id
protected Long orderId
protected String type
protected AddressWrapper billingAddress
protected BigDecimal amount
protected Currency currency
protected String referenceNumber
protected String gatewayType
protected List<PaymentTransactionWrapper> transactions
public void wrapDetails(OrderPayment model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<OrderPayment>public void wrapSummary(OrderPayment model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<OrderPayment>public OrderPayment unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<OrderPayment>public Long getId()
public void setId(Long id)
id - the id to setpublic Long getOrderId()
public void setOrderId(Long orderId)
orderId - the orderId to setpublic String getType()
public void setType(String type)
type - the type to setpublic AddressWrapper getBillingAddress()
public void setBillingAddress(AddressWrapper billingAddress)
billingAddress - the billingAddress 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 String getReferenceNumber()
public void setReferenceNumber(String referenceNumber)
referenceNumber - the referenceNumber to setpublic String getGatewayType()
public void setGatewayType(String gatewayType)
gatewayType - the gatewayType to setpublic List<PaymentTransactionWrapper> getTransactions()
public void setTransactions(List<PaymentTransactionWrapper> transactions)
transactions - the transactions to setCopyright © 2018. All rights reserved.