Module com.logicommerce.sdk
Class OrderBaseStatusImpl<T>
java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderBaseStatusImpl<T>
- All Implemented Interfaces:
OrderBaseStatus<T>
- Direct Known Subclasses:
OrderShipmentStatusImpl,OrderStatusImpl
OrderBaseStatusImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldactions.Getter for the fieldcurrentDateTime.getId()Getter for the fieldid.Getter for the fieldstatus.intGetter for the fieldsubstatusId.voidsetActions(List<OrderStatusAction> actions) Setter for the fieldactions.voidsetCurrentDateTime(LocalDateTime currentDateTime) Setter for the fieldcurrentDateTime.voidSetter for the fieldid.voidSetter for the fieldstatus.voidsetSubstatusId(int substatusId) Setter for the fieldsubstatusId.
-
Constructor Details
-
OrderBaseStatusImpl
public OrderBaseStatusImpl()
-
-
Method Details
-
getId
Getter for the field
id.- Specified by:
getIdin interfaceOrderBaseStatus<T>- Returns:
- a
Integerobject
-
getActions
Getter for the field
actions.- Specified by:
getActionsin interfaceOrderBaseStatus<T>- Returns:
- a
Listobject
-
getCurrentDateTime
Getter for the field
currentDateTime.- Specified by:
getCurrentDateTimein interfaceOrderBaseStatus<T>- Returns:
- a
LocalDateTimeobject
-
getStatus
Getter for the field
status.- Specified by:
getStatusin interfaceOrderBaseStatus<T>- Returns:
- a T object
-
getSubstatusId
public int getSubstatusId()Getter for the field
substatusId.- Specified by:
getSubstatusIdin interfaceOrderBaseStatus<T>- Returns:
- a int
-
setId
Setter for the field
id.- Parameters:
id- aIntegerobject
-
setActions
Setter for the field
actions.- Parameters:
actions- aListobject
-
setCurrentDateTime
Setter for the field
currentDateTime.- Parameters:
currentDateTime- aLocalDateTimeobject
-
setSubstatusId
public void setSubstatusId(int substatusId) Setter for the field
substatusId.- Parameters:
substatusId- a int
-
setStatus
Setter for the field
status.- Parameters:
status- a T object
-