com.elasticpath.cmweb.ajaxbean.impl
Class OrderInfoAjaxBeanImpl

java.lang.Object
  extended by com.elasticpath.cmweb.ajaxbean.impl.OrderInfoAjaxBeanImpl
All Implemented Interfaces:
OrderInfoAjaxBean

public class OrderInfoAjaxBeanImpl
extends java.lang.Object
implements OrderInfoAjaxBean

This bean provides access to order-related data needed for display in the Javascript UI. Note that the order object itself is not in this bean to keep the bean light-weight and suitable for search functionality.


Constructor Summary
OrderInfoAjaxBeanImpl()
           
 
Method Summary
 java.lang.String getCustomerName()
          Get the customer name of the order.
 java.util.Date getOrderCreatedDate()
          Get the order created date.
 java.lang.String getOrderNumber()
          Gets the order number.
 OrderStatus getOrderStatus()
          Get the order status.
 java.lang.String getOrderTotal()
          Get the order total.
 long getOrderUidPk()
          Gets the unique identifier for this domain model object.
 OrderPaymentStatus getPaymentStatus()
          Get the order payment status.
 OrderShipmentStatus getShipmentStatus()
          Get the order shipment status.
 void setCustomerName(java.lang.String customerName)
          Set the customer name of the order.
 void setOrderCreatedDate(java.util.Date createdDate)
          Set the order created date.
 void setOrderNumber(java.lang.String orderNumber)
          Sets the order number.
 void setOrderStatus(OrderStatus orderStatus)
          Set the order status.
 void setOrderTotal(java.lang.String orderTotal)
          Set the order total.
 void setOrderUidPk(long orderUidPk)
          Sets the unique identifier for this domain model object.
 void setPaymentStatus(OrderPaymentStatus paymentStatus)
          Set the payment status.
 void setShipmentStatus(OrderShipmentStatus shipmentStatus)
          Set the order shipment status.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderInfoAjaxBeanImpl

public OrderInfoAjaxBeanImpl()
Method Detail

getCustomerName

public java.lang.String getCustomerName()
Get the customer name of the order.

Specified by:
getCustomerName in interface OrderInfoAjaxBean
Returns:
the customer name of the order.

getOrderCreatedDate

public java.util.Date getOrderCreatedDate()
Get the order created date.

Specified by:
getOrderCreatedDate in interface OrderInfoAjaxBean
Returns:
the order created date.

getOrderNumber

public java.lang.String getOrderNumber()
Gets the order number.

Specified by:
getOrderNumber in interface OrderInfoAjaxBean
Returns:
the order number.

getOrderStatus

public OrderStatus getOrderStatus()
Get the order status.

Specified by:
getOrderStatus in interface OrderInfoAjaxBean
Returns:
the order status.

getOrderTotal

public java.lang.String getOrderTotal()
Get the order total.

Specified by:
getOrderTotal in interface OrderInfoAjaxBean
Returns:
orderTotal the order total.

getOrderUidPk

public long getOrderUidPk()
Gets the unique identifier for this domain model object.

Specified by:
getOrderUidPk in interface OrderInfoAjaxBean
Returns:
the unique identifier.

getPaymentStatus

public OrderPaymentStatus getPaymentStatus()
Get the order payment status.

Specified by:
getPaymentStatus in interface OrderInfoAjaxBean
Returns:
the order status.

getShipmentStatus

public OrderShipmentStatus getShipmentStatus()
Get the order shipment status.

Specified by:
getShipmentStatus in interface OrderInfoAjaxBean
Returns:
the order shipmentstatus.

setCustomerName

public void setCustomerName(java.lang.String customerName)
Set the customer name of the order.

Specified by:
setCustomerName in interface OrderInfoAjaxBean
Parameters:
customerName - the customer name of the order.

setOrderCreatedDate

public void setOrderCreatedDate(java.util.Date createdDate)
Set the order created date.

Specified by:
setOrderCreatedDate in interface OrderInfoAjaxBean
Parameters:
createdDate - the order created date.

setOrderNumber

public void setOrderNumber(java.lang.String orderNumber)
Sets the order number.

Specified by:
setOrderNumber in interface OrderInfoAjaxBean
Parameters:
orderNumber - the order number.

setOrderStatus

public void setOrderStatus(OrderStatus orderStatus)
Set the order status.

Specified by:
setOrderStatus in interface OrderInfoAjaxBean
Parameters:
orderStatus - the order status.

setOrderTotal

public void setOrderTotal(java.lang.String orderTotal)
Set the order total.

Specified by:
setOrderTotal in interface OrderInfoAjaxBean
Parameters:
orderTotal - the order total.

setOrderUidPk

public void setOrderUidPk(long orderUidPk)
Sets the unique identifier for this domain model object.

Specified by:
setOrderUidPk in interface OrderInfoAjaxBean
Parameters:
orderUidPk - the new unique identifier.

setPaymentStatus

public void setPaymentStatus(OrderPaymentStatus paymentStatus)
Set the payment status.

Specified by:
setPaymentStatus in interface OrderInfoAjaxBean
Parameters:
paymentStatus - the payment status.

setShipmentStatus

public void setShipmentStatus(OrderShipmentStatus shipmentStatus)
Set the order shipment status.

Specified by:
setShipmentStatus in interface OrderInfoAjaxBean
Parameters:
shipmentStatus - the order shipment status.