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:
java.io.Serializable
public class RegularCustomerOrderTotalRestrictionModel extends RestrictionModel
Generated model class for type RegularCustomerOrderTotalRestriction first defined at extension voucher.- 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
_TYPECODE
Generated model type code constant.static java.lang.String
ALLORDERSTOTAL
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.allOrdersTotal
attribute defined at extensionvoucher
.static java.lang.String
CURRENCY
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.currency
attribute defined at extensionvoucher
.static java.lang.String
NET
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.net
attribute defined at extensionvoucher
.static java.lang.String
VALUEOFGOODSONLY
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.valueofgoodsonly
attribute defined at extensionvoucher
.-
Fields inherited from class de.hybris.platform.voucher.model.RestrictionModel
_VOUCHERRESTRICTIONSRELATION, DESCRIPTION, POSITIVE, RESTRICTIONTYPE, VIOLATIONMESSAGE, VOUCHER, VOUCHERPOS
-
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 RegularCustomerOrderTotalRestrictionModel()
Generated constructor - Default constructor for generic creation.RegularCustomerOrderTotalRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextRegularCustomerOrderTotalRestrictionModel(java.lang.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(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getAllOrdersTotal()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.allOrdersTotal
attribute defined at extensionvoucher
.CurrencyModel
getCurrency()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.currency
attribute defined at extensionvoucher
.java.lang.Boolean
getNet()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.net
attribute defined at extensionvoucher
.java.lang.Boolean
getValueofgoodsonly()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.valueofgoodsonly
attribute defined at extensionvoucher
.void
setAllOrdersTotal(java.lang.Double value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.allOrdersTotal
attribute defined at extensionvoucher
.void
setCurrency(CurrencyModel value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.currency
attribute defined at extensionvoucher
.void
setNet(java.lang.Boolean value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.net
attribute defined at extensionvoucher
.void
setValueofgoodsonly(java.lang.Boolean value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.valueofgoodsonly
attribute 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, setVoucher
-
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
-
ALLORDERSTOTAL
public static final java.lang.String ALLORDERSTOTAL
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.allOrdersTotal
attribute defined at extensionvoucher
.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.currency
attribute defined at extensionvoucher
.- See Also:
- Constant Field Values
-
NET
public static final java.lang.String NET
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.net
attribute defined at extensionvoucher
.- See Also:
- Constant Field Values
-
VALUEOFGOODSONLY
public static final java.lang.String VALUEOFGOODSONLY
Generated constant - Attribute key ofRegularCustomerOrderTotalRestriction.valueofgoodsonly
attribute defined at extensionvoucher
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RegularCustomerOrderTotalRestrictionModel
public RegularCustomerOrderTotalRestrictionModel()
Generated constructor - Default constructor for generic creation.
-
RegularCustomerOrderTotalRestrictionModel
public RegularCustomerOrderTotalRestrictionModel(ItemModelContext ctx)
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(java.lang.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 typeRegularCustomerOrderTotalRestriction
at extensionvoucher
_currency
- initial attribute declared by typeRegularCustomerOrderTotalRestriction
at extensionvoucher
_voucher
- initial attribute declared by typeRestriction
at extensionvoucher
-
RegularCustomerOrderTotalRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public RegularCustomerOrderTotalRestrictionModel(java.lang.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 typeRegularCustomerOrderTotalRestriction
at extensionvoucher
_currency
- initial attribute declared by typeRegularCustomerOrderTotalRestriction
at extensionvoucher
_owner
- initial attribute declared by typeItem
at extensioncore
_voucher
- initial attribute declared by typeRestriction
at extensionvoucher
-
-
Method Detail
-
getAllOrdersTotal
@Accessor(qualifier="allOrdersTotal", type=GETTER) public java.lang.Double getAllOrdersTotal()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.allOrdersTotal
attribute defined at extensionvoucher
.- Returns:
- the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.currency
attribute defined at extensionvoucher
.- Returns:
- the currency - the currency associated with the orderTotalSum.
-
getNet
@Accessor(qualifier="net", type=GETTER) public java.lang.Boolean getNet()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.net
attribute 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
@Accessor(qualifier="valueofgoodsonly", type=GETTER) public java.lang.Boolean getValueofgoodsonly()
Generated method - Getter of theRegularCustomerOrderTotalRestriction.valueofgoodsonly
attribute 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
@Accessor(qualifier="allOrdersTotal", type=SETTER) public void setAllOrdersTotal(java.lang.Double value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.allOrdersTotal
attribute defined at extensionvoucher
.- Parameters:
value
- the allOrdersTotal - restrict to customers who ordered a total of x or greater in their lifetime.
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.currency
attribute defined at extensionvoucher
.- Parameters:
value
- the currency - the currency associated with the orderTotalSum.
-
setNet
@Accessor(qualifier="net", type=SETTER) public void setNet(java.lang.Boolean value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.net
attribute 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
@Accessor(qualifier="valueofgoodsonly", type=SETTER) public void setValueofgoodsonly(java.lang.Boolean value)
Generated method - Setter ofRegularCustomerOrderTotalRestriction.valueofgoodsonly
attribute 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).
-
-