Class OrderCancelConfigModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.ordercancel.model.OrderCancelConfigModel
-
- All Implemented Interfaces:
java.io.Serializable
public class OrderCancelConfigModel extends ItemModel
Generated model class for type OrderCancelConfig first defined at extension basecommerce.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCANCELAFTERWAREHOUSEALLOWEDGenerated constant - Attribute key ofOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.static java.lang.StringCOMPLETECANCELAFTERSHIPPINGSTARTEDALLOWEDGenerated constant - Attribute key ofOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.static java.lang.StringORDERCANCELALLOWEDGenerated constant - Attribute key ofOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.static java.lang.StringPARTIALCANCELALLOWEDGenerated constant - Attribute key ofOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.static java.lang.StringPARTIALORDERENTRYCANCELALLOWEDGenerated constant - Attribute key ofOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.static java.lang.StringQUEUEDORDERWAITINGTIMEGenerated constant - Attribute key ofOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description OrderCancelConfigModel()Generated constructor - Default constructor for generic creation.OrderCancelConfigModel(boolean _cancelAfterWarehouseAllowed, boolean _completeCancelAfterShippingStartedAllowed, boolean _orderCancelAllowed, boolean _partialCancelAllowed, boolean _partialOrderEntryCancelAllowed, int _queuedOrderWaitingTime)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOrderCancelConfigModel(boolean _cancelAfterWarehouseAllowed, boolean _completeCancelAfterShippingStartedAllowed, boolean _orderCancelAllowed, ItemModel _owner, boolean _partialCancelAllowed, boolean _partialOrderEntryCancelAllowed, int _queuedOrderWaitingTime)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOrderCancelConfigModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetQueuedOrderWaitingTime()Generated method - Getter of theOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.booleanisCancelAfterWarehouseAllowed()Generated method - Getter of theOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.booleanisCompleteCancelAfterShippingStartedAllowed()Generated method - Getter of theOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.booleanisOrderCancelAllowed()Generated method - Getter of theOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.booleanisPartialCancelAllowed()Generated method - Getter of theOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.booleanisPartialOrderEntryCancelAllowed()Generated method - Getter of theOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.voidsetCancelAfterWarehouseAllowed(boolean value)Generated method - Setter ofOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.voidsetCompleteCancelAfterShippingStartedAllowed(boolean value)Generated method - Setter ofOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.voidsetOrderCancelAllowed(boolean value)Generated method - Setter ofOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.voidsetPartialCancelAllowed(boolean value)Generated method - Setter ofOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.voidsetPartialOrderEntryCancelAllowed(boolean value)Generated method - Setter ofOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.voidsetQueuedOrderWaitingTime(int value)Generated method - Setter ofOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
ORDERCANCELALLOWED
public static final java.lang.String ORDERCANCELALLOWED
Generated constant - Attribute key ofOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
CANCELAFTERWAREHOUSEALLOWED
public static final java.lang.String CANCELAFTERWAREHOUSEALLOWED
Generated constant - Attribute key ofOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
COMPLETECANCELAFTERSHIPPINGSTARTEDALLOWED
public static final java.lang.String COMPLETECANCELAFTERSHIPPINGSTARTEDALLOWED
Generated constant - Attribute key ofOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
PARTIALCANCELALLOWED
public static final java.lang.String PARTIALCANCELALLOWED
Generated constant - Attribute key ofOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
PARTIALORDERENTRYCANCELALLOWED
public static final java.lang.String PARTIALORDERENTRYCANCELALLOWED
Generated constant - Attribute key ofOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
QUEUEDORDERWAITINGTIME
public static final java.lang.String QUEUEDORDERWAITINGTIME
Generated constant - Attribute key ofOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrderCancelConfigModel
public OrderCancelConfigModel()
Generated constructor - Default constructor for generic creation.
-
OrderCancelConfigModel
public OrderCancelConfigModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
OrderCancelConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderCancelConfigModel(boolean _cancelAfterWarehouseAllowed, boolean _completeCancelAfterShippingStartedAllowed, boolean _orderCancelAllowed, boolean _partialCancelAllowed, boolean _partialOrderEntryCancelAllowed, int _queuedOrderWaitingTime)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_cancelAfterWarehouseAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_completeCancelAfterShippingStartedAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_orderCancelAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_partialCancelAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_partialOrderEntryCancelAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_queuedOrderWaitingTime- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce
-
OrderCancelConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderCancelConfigModel(boolean _cancelAfterWarehouseAllowed, boolean _completeCancelAfterShippingStartedAllowed, boolean _orderCancelAllowed, ItemModel _owner, boolean _partialCancelAllowed, boolean _partialOrderEntryCancelAllowed, int _queuedOrderWaitingTime)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_cancelAfterWarehouseAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_completeCancelAfterShippingStartedAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_orderCancelAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_partialCancelAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_partialOrderEntryCancelAllowed- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce_queuedOrderWaitingTime- initial attribute declared by typeOrderCancelConfigat extensionbasecommerce
-
-
Method Detail
-
getQueuedOrderWaitingTime
@Accessor(qualifier="queuedOrderWaitingTime", type=GETTER) public int getQueuedOrderWaitingTime()
Generated method - Getter of theOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.- Returns:
- the queuedOrderWaitingTime - Determines how long an order should wait in queue before it's started to be fullfilled
-
isCancelAfterWarehouseAllowed
@Accessor(qualifier="cancelAfterWarehouseAllowed", type=GETTER) public boolean isCancelAfterWarehouseAllowed()
Generated method - Getter of theOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.- Returns:
- the cancelAfterWarehouseAllowed - Determines if the order cancelling is still possible after sending it to warehouse
-
isCompleteCancelAfterShippingStartedAllowed
@Accessor(qualifier="completeCancelAfterShippingStartedAllowed", type=GETTER) public boolean isCompleteCancelAfterShippingStartedAllowed()
Generated method - Getter of theOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.- Returns:
- the completeCancelAfterShippingStartedAllowed - Determines if a complete cancel request is allowed after shipping has been started. This means: Cancel the part of the order that has not been shipped yet. Evaluated only if cancelAfterWarehouseAllowed is true.
-
isOrderCancelAllowed
@Accessor(qualifier="orderCancelAllowed", type=GETTER) public boolean isOrderCancelAllowed()
Generated method - Getter of theOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.- Returns:
- the orderCancelAllowed - Determines if the order cancelling is at all possible
-
isPartialCancelAllowed
@Accessor(qualifier="partialCancelAllowed", type=GETTER) public boolean isPartialCancelAllowed()
Generated method - Getter of theOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.- Returns:
- the partialCancelAllowed - Determines if the partial order cancelling (discarding whole order entries) is possible.
-
isPartialOrderEntryCancelAllowed
@Accessor(qualifier="partialOrderEntryCancelAllowed", type=GETTER) public boolean isPartialOrderEntryCancelAllowed()
Generated method - Getter of theOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.- Returns:
- the partialOrderEntryCancelAllowed - Determines if the partial order entry cancelling (discarding parts of order entries) is possible. This parameter is evaluated only if partialCancelAllowed is set to true.
-
setCancelAfterWarehouseAllowed
@Accessor(qualifier="cancelAfterWarehouseAllowed", type=SETTER) public void setCancelAfterWarehouseAllowed(boolean value)
Generated method - Setter ofOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.- Parameters:
value- the cancelAfterWarehouseAllowed - Determines if the order cancelling is still possible after sending it to warehouse
-
setCompleteCancelAfterShippingStartedAllowed
@Accessor(qualifier="completeCancelAfterShippingStartedAllowed", type=SETTER) public void setCompleteCancelAfterShippingStartedAllowed(boolean value)
Generated method - Setter ofOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.- Parameters:
value- the completeCancelAfterShippingStartedAllowed - Determines if a complete cancel request is allowed after shipping has been started. This means: Cancel the part of the order that has not been shipped yet. Evaluated only if cancelAfterWarehouseAllowed is true.
-
setOrderCancelAllowed
@Accessor(qualifier="orderCancelAllowed", type=SETTER) public void setOrderCancelAllowed(boolean value)
Generated method - Setter ofOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.- Parameters:
value- the orderCancelAllowed - Determines if the order cancelling is at all possible
-
setPartialCancelAllowed
@Accessor(qualifier="partialCancelAllowed", type=SETTER) public void setPartialCancelAllowed(boolean value)
Generated method - Setter ofOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.- Parameters:
value- the partialCancelAllowed - Determines if the partial order cancelling (discarding whole order entries) is possible.
-
setPartialOrderEntryCancelAllowed
@Accessor(qualifier="partialOrderEntryCancelAllowed", type=SETTER) public void setPartialOrderEntryCancelAllowed(boolean value)
Generated method - Setter ofOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.- Parameters:
value- the partialOrderEntryCancelAllowed - Determines if the partial order entry cancelling (discarding parts of order entries) is possible. This parameter is evaluated only if partialCancelAllowed is set to true.
-
setQueuedOrderWaitingTime
@Accessor(qualifier="queuedOrderWaitingTime", type=SETTER) public void setQueuedOrderWaitingTime(int value)
Generated method - Setter ofOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.- Parameters:
value- the queuedOrderWaitingTime - Determines how long an order should wait in queue before it's started to be fullfilled
-
-