public class PromotionBillingTimeRestrictionModel extends AbstractPromotionRestrictionModel
| 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, SEALED| Constructor and Description |
|---|
PromotionBillingTimeRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
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, setOwnerpublic 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 nullpublic java.util.Collection<BillingTimeModel> getBillingTimes()
PromotionBillingTimeRestriction.billingTimes attribute defined at extension subscriptionservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.public java.lang.Boolean getPositive()
PromotionBillingTimeRestriction.positive attribute defined at extension subscriptionservices.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 forpublic 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.