public class PromotionBillingTimeRestrictionModel extends AbstractPromotionRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
BILLINGTIMES
Generated constant - Attribute key of
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices. |
static String |
POSITIVE
Generated constant - Attribute key of
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices. |
DESCRIPTIONPATTERN, PROMOTION, RENDEREDDESCRIPTION, RESTRICTIONTYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
PromotionBillingTimeRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
PromotionBillingTimeRestrictionModel(ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
PromotionBillingTimeRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<BillingTimeModel> |
getBillingTimes()
Generated method - Getter of the
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices. |
Boolean |
getPositive()
Generated method - Getter of the
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices. |
void |
setBillingTimes(Collection<BillingTimeModel> value)
Generated method - Setter of
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices. |
void |
setPositive(Boolean value)
Generated method - Setter of
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices. |
getDescriptionPattern, getDescriptionPattern, getPromotion, getRenderedDescription, getRestrictionType, getRestrictionType, setDescriptionPattern, setDescriptionPattern, setPromotiongetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String POSITIVE
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices.public static final String BILLINGTIMES
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices.public PromotionBillingTimeRestrictionModel()
public PromotionBillingTimeRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PromotionBillingTimeRestrictionModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="billingTimes", type=GETTER) public Collection<BillingTimeModel> getBillingTimes()
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="positive", type=GETTER) public Boolean getPositive()
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices.@Accessor(qualifier="billingTimes", type=SETTER) public void setBillingTimes(Collection<BillingTimeModel> value)
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices.value - the billingTimes - The billing frequencies/events the promotion is not applied for@Accessor(qualifier="positive", type=SETTER) public void setPositive(Boolean value)
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices.value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.Copyright © 2017 SAP SE. All Rights Reserved.