ZMObject
|
+--ZMOrderStatus
public class ZMOrderStatus
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new status. |
|
| Method Summary | |
|---|---|
| string | Get the comment. |
| string | Get the date it was added. |
| int | getId() Get the order status (history) id. |
| string | getName() Get the order status name. |
| int | Get the order id. |
| int | Get the order status id. |
| boolean | Checks if a comment exists for this status. |
| boolean | Has the customer been notified about this change. |
| void | setComment(string comment) Set the comment. |
| void | setCustomerNotified(boolean customerNotified) Set whether the customer been notified about this change. |
| void | setDateAdded(string dateAdded) Set the date it was added. |
| void | setId(int id) Set the order status (history) id. |
| void | setName(string name) Set the order status name. |
| void | setOrderId(int orderId) Set the order id. |
| void | setOrderStatusId(int orderStatusId) Set the order status id. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMOrderStatus()
Create new status. /
public string getComment()
Get the comment.
public string getDateAdded()
Get the date it was added.
public int getId()
Get the order status (history) id.
This is the primary key id of the order_status_history table.
public string getName()
Get the order status name.
public int getOrderId()
Get the order id.
public int getOrderStatusId()
Get the order status id.
This is the id corresponding with the name.
public boolean hasComment()
Checks if a comment exists for this status.
false if not.public boolean isCustomerNotified()
Has the customer been notified about this change.
true if the customer has been notified, false if not.public void setComment(string comment)
Set the comment.
public void setCustomerNotified(boolean customerNotified)
Set whether the customer been notified about this change.
true if the customer has been notified, false if not.public void setDateAdded(string dateAdded)
Set the date it was added.
public void setId(int id)
Set the order status (history) id.
public void setName(string name)
Set the order status name.
public void setOrderId(int orderId)
Set the order id.
public void setOrderStatusId(int orderStatusId)
Set the order status id.
Order status.