public class PromotionBillingTimeRestrictionModel extends AbstractPromotionRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
BILLINGTIMES
Generated constant - Attribute key of
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices. |
static java.lang.String |
POSITIVE
Generated constant - Attribute key of
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices. |
DESCRIPTIONPATTERN, PROMOTION, RENDEREDDESCRIPTION, RESTRICTIONTYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_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 |
|---|---|
java.util.Collection<BillingTimeModel> |
getBillingTimes()
Generated method - Getter of the
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices. |
java.lang.Boolean |
getPositive()
Generated method - Getter of the
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices. |
void |
setBillingTimes(java.util.Collection<BillingTimeModel> value)
Generated method - Setter of
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices. |
void |
setPositive(java.lang.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, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String POSITIVE
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices.public static final java.lang.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 java.util.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 java.lang.Boolean getPositive()
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices.@Accessor(qualifier="billingTimes", type=SETTER) public void setBillingTimes(java.util.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(java.lang.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 © 2018 SAP SE. All Rights Reserved.