Package de.hybris.platform.voucher.model
Class RegularCustomerOrderTotalRestrictionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.voucher.model.RestrictionModel
de.hybris.platform.voucher.model.RegularCustomerOrderTotalRestrictionModel
- All Implemented Interfaces:
Serializable
Generated model class for type RegularCustomerOrderTotalRestriction first defined at extension voucher.
- 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 ofRegularCustomerOrderTotalRestriction.allOrdersTotalattribute defined at extensionvoucher.static final StringGenerated constant - Attribute key ofRegularCustomerOrderTotalRestriction.currencyattribute defined at extensionvoucher.static final StringGenerated constant - Attribute key ofRegularCustomerOrderTotalRestriction.netattribute defined at extensionvoucher.static final StringGenerated constant - Attribute key ofRegularCustomerOrderTotalRestriction.valueofgoodsonlyattribute defined at extensionvoucher.Fields inherited from class de.hybris.platform.voucher.model.RestrictionModel
_VOUCHERRESTRICTIONSRELATION, DESCRIPTION, POSITIVE, RESTRICTIONTYPE, VIOLATIONMESSAGE, VOUCHER, VOUCHERPOSFields 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.Generated constructor - Default constructor for creation with existing contextRegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theRegularCustomerOrderTotalRestriction.allOrdersTotalattribute defined at extensionvoucher.Generated method - Getter of theRegularCustomerOrderTotalRestriction.currencyattribute defined at extensionvoucher.getNet()Generated method - Getter of theRegularCustomerOrderTotalRestriction.netattribute defined at extensionvoucher.Generated method - Getter of theRegularCustomerOrderTotalRestriction.valueofgoodsonlyattribute defined at extensionvoucher.voidsetAllOrdersTotal(Double value) Generated method - Setter ofRegularCustomerOrderTotalRestriction.allOrdersTotalattribute defined at extensionvoucher.voidsetCurrency(CurrencyModel value) Generated method - Setter ofRegularCustomerOrderTotalRestriction.currencyattribute defined at extensionvoucher.voidGenerated method - Setter ofRegularCustomerOrderTotalRestriction.netattribute defined at extensionvoucher.voidsetValueofgoodsonly(Boolean value) Generated method - Setter ofRegularCustomerOrderTotalRestriction.valueofgoodsonlyattribute defined at extensionvoucher.Methods inherited from class de.hybris.platform.voucher.model.RestrictionModel
getDescription, getDescription, getPositive, getRestrictionType, getRestrictionType, getViolationMessage, getViolationMessage, getVoucher, setDescription, setDescription, setPositive, setViolationMessage, setViolationMessage, setVoucherMethods 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:
-
ALLORDERSTOTAL
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.allOrdersTotalattribute defined at extensionvoucher.- See Also:
-
CURRENCY
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.currencyattribute defined at extensionvoucher.- See Also:
-
NET
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.netattribute defined at extensionvoucher.- See Also:
-
VALUEOFGOODSONLY
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.valueofgoodsonlyattribute defined at extensionvoucher.- See Also:
-
-
Constructor Details
-
RegularCustomerOrderTotalRestrictionModel
public RegularCustomerOrderTotalRestrictionModel()Generated constructor - Default constructor for generic creation. -
RegularCustomerOrderTotalRestrictionModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
RegularCustomerOrderTotalRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public RegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, VoucherModel _voucher) 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:
_allOrdersTotal- initial attribute declared by typeRegularCustomerOrderTotalRestrictionat extensionvoucher_currency- initial attribute declared by typeRegularCustomerOrderTotalRestrictionat extensionvoucher_voucher- initial attribute declared by typeRestrictionat extensionvoucher
-
RegularCustomerOrderTotalRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public RegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, ItemModel _owner, VoucherModel _voucher) 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:
_allOrdersTotal- initial attribute declared by typeRegularCustomerOrderTotalRestrictionat extensionvoucher_currency- initial attribute declared by typeRegularCustomerOrderTotalRestrictionat extensionvoucher_owner- initial attribute declared by typeItemat extensioncore_voucher- initial attribute declared by typeRestrictionat extensionvoucher
-
-
Method Details
-
getAllOrdersTotal
Generated method - Getter of theRegularCustomerOrderTotalRestriction.allOrdersTotalattribute defined at extensionvoucher.- Returns:
- the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
-
getCurrency
Generated method - Getter of theRegularCustomerOrderTotalRestriction.currencyattribute defined at extensionvoucher.- Returns:
- the currency - the currency associated with the orderTotalSum.
-
getNet
Generated method - Getter of theRegularCustomerOrderTotalRestriction.netattribute defined at extensionvoucher.- Returns:
- the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
-
getValueofgoodsonly
Generated method - Getter of theRegularCustomerOrderTotalRestriction.valueofgoodsonlyattribute defined at extensionvoucher.- Returns:
- the valueofgoodsonly - Specifies if total sum of all orders is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping and payment costs).
-
setAllOrdersTotal
Generated method - Setter ofRegularCustomerOrderTotalRestriction.allOrdersTotalattribute defined at extensionvoucher.- Parameters:
value- the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
-
setCurrency
Generated method - Setter ofRegularCustomerOrderTotalRestriction.currencyattribute defined at extensionvoucher.- Parameters:
value- the currency - the currency associated with the orderTotalSum.
-
setNet
Generated method - Setter ofRegularCustomerOrderTotalRestriction.netattribute defined at extensionvoucher.- Parameters:
value- the net - Specifies if total sum of all existing orders is consulted inclusive or exclusive VAT. Default is true (exclusive VAT).
-
setValueofgoodsonly
Generated method - Setter ofRegularCustomerOrderTotalRestriction.valueofgoodsonlyattribute defined at extensionvoucher.- Parameters:
value- the valueofgoodsonly - Specifies if total sum of all orders is consulted inclusive or exclusive shipping and payment costs. Default is true (exclusive shipping and payment costs).
-