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:
Serializable
Generated model class for type OrderCancelConfig first defined at extension basecommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionintGenerated method - Getter of theOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.booleanGenerated method - Getter of theOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.booleanGenerated method - Getter of theOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.booleanGenerated method - Getter of theOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.booleanGenerated method - Getter of theOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.booleanGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ORDERCANCELALLOWED
Generated constant - Attribute key ofOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.- See Also:
-
CANCELAFTERWAREHOUSEALLOWED
Generated constant - Attribute key ofOrderCancelConfig.cancelAfterWarehouseAllowedattribute defined at extensionbasecommerce.- See Also:
-
COMPLETECANCELAFTERSHIPPINGSTARTEDALLOWED
Generated constant - Attribute key ofOrderCancelConfig.completeCancelAfterShippingStartedAllowedattribute defined at extensionbasecommerce.- See Also:
-
PARTIALCANCELALLOWED
Generated constant - Attribute key ofOrderCancelConfig.partialCancelAllowedattribute defined at extensionbasecommerce.- See Also:
-
PARTIALORDERENTRYCANCELALLOWED
Generated constant - Attribute key ofOrderCancelConfig.partialOrderEntryCancelAllowedattribute defined at extensionbasecommerce.- See Also:
-
QUEUEDORDERWAITINGTIME
Generated constant - Attribute key ofOrderCancelConfig.queuedOrderWaitingTimeattribute defined at extensionbasecommerce.- See Also:
-
-
Constructor Details
-
OrderCancelConfigModel
public OrderCancelConfigModel()Generated constructor - Default constructor for generic creation. -
OrderCancelConfigModel
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 Details
-
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
Generated method - Getter of theOrderCancelConfig.orderCancelAllowedattribute defined at extensionbasecommerce.- Returns:
- the orderCancelAllowed - Determines if the order cancelling is at all possible
-
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
-