Class UsageChargeModel

    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _CPQSUBSCRIPTIONDETAIL2USAGECHARGERELATION
      Generated relation code constant for relation CpqSubscriptionDetail2UsageChargeRelation defining source attribute cpqSubscriptionUsageCharge in extension sapcpqsbintegration.
      static java.lang.String _SUBSCRIPTIONPRICEPLAN2USAGECHARGERELATION
      Generated relation code constant for relation SubscriptionPricePlan2UsageChargeRelation defining source attribute subscriptionPricePlanUsage in extension subscriptionservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String BILLINGTIME
      Generated constant - Attribute key of UsageCharge.billingTime attribute defined at extension subscriptionservices.
      static java.lang.String BLOCKSIZE
      Generated constant - Attribute key of UsageCharge.blockSize attribute defined at extension saprevenuecloudproduct.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
      static java.lang.String CPQSUBSCRIPTIONUSAGECHARGE
      Generated constant - Attribute key of UsageCharge.cpqSubscriptionUsageCharge attribute defined at extension sapcpqsbintegration.
      static java.lang.String CURRENCY
      Generated constant - Attribute key of UsageCharge.currency attribute defined at extension subscriptionservices.
      static java.lang.String ID
      Generated constant - Attribute key of UsageCharge.id attribute defined at extension subscriptionservices.
      static java.lang.String MINBLOCKS
      Generated constant - Attribute key of UsageCharge.minBlocks attribute defined at extension saprevenuecloudproduct.
      static java.lang.String NAME
      Generated constant - Attribute key of UsageCharge.name attribute defined at extension subscriptionservices.
      static java.lang.String SUBSCRIPTIONBILLINGID
      Generated constant - Attribute key of UsageCharge.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      static java.lang.String SUBSCRIPTIONPRICEPLANUSAGE
      Generated constant - Attribute key of UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices.
      static java.lang.String USAGECHARGEENTRIES
      Generated constant - Attribute key of UsageCharge.usageChargeEntries attribute defined at extension subscriptionservices.
      static java.lang.String USAGEUNIT
      Generated constant - Attribute key of UsageCharge.usageUnit attribute defined at extension subscriptionservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      UsageChargeModel()
      Generated constructor - Default constructor for generic creation.
      UsageChargeModel​(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, UsageUnitModel _usageUnit)
      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
      UsageChargeModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      UsageChargeModel​(UsageUnitModel _usageUnit)
      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
      BillingTimeModel getBillingTime()
      Generated method - Getter of the UsageCharge.billingTime dynamic attribute defined at extension subscriptionservices.
      java.lang.Integer getBlockSize()
      Generated method - Getter of the UsageCharge.blockSize attribute defined at extension saprevenuecloudproduct.
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
      CpqSubscriptionDetailModel getCpqSubscriptionUsageCharge()
      Generated method - Getter of the UsageCharge.cpqSubscriptionUsageCharge attribute defined at extension sapcpqsbintegration.
      CurrencyModel getCurrency()
      Generated method - Getter of the UsageCharge.currency dynamic attribute defined at extension subscriptionservices.
      java.lang.String getId()
      Generated method - Getter of the UsageCharge.id attribute defined at extension subscriptionservices.
      java.lang.Integer getMinBlocks()
      Generated method - Getter of the UsageCharge.minBlocks attribute defined at extension saprevenuecloudproduct.
      java.lang.String getName()
      Generated method - Getter of the UsageCharge.name attribute defined at extension subscriptionservices.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the UsageCharge.name attribute defined at extension subscriptionservices.
      java.lang.String getSubscriptionBillingId()
      Generated method - Getter of the UsageCharge.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      SubscriptionPricePlanModel getSubscriptionPricePlanUsage()
      Generated method - Getter of the UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices.
      java.util.Collection<UsageChargeEntryModel> getUsageChargeEntries()
      Generated method - Getter of the UsageCharge.usageChargeEntries attribute defined at extension subscriptionservices.
      UsageUnitModel getUsageUnit()
      Generated method - Getter of the UsageCharge.usageUnit attribute defined at extension subscriptionservices.
      void setBlockSize​(java.lang.Integer value)
      Generated method - Setter of UsageCharge.blockSize attribute defined at extension saprevenuecloudproduct.
      void setCatalogVersion​(CatalogVersionModel value)
      Generated method - Initial setter of UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
      void setCpqSubscriptionUsageCharge​(CpqSubscriptionDetailModel value)
      Generated method - Setter of UsageCharge.cpqSubscriptionUsageCharge attribute defined at extension sapcpqsbintegration.
      void setId​(java.lang.String value)
      Generated method - Initial setter of UsageCharge.id attribute defined at extension subscriptionservices.
      void setMinBlocks​(java.lang.Integer value)
      Generated method - Setter of UsageCharge.minBlocks attribute defined at extension saprevenuecloudproduct.
      void setName​(java.lang.String value)
      Generated method - Setter of UsageCharge.name attribute defined at extension subscriptionservices.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of UsageCharge.name attribute defined at extension subscriptionservices.
      void setSubscriptionBillingId​(java.lang.String value)
      Generated method - Setter of UsageCharge.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      void setSubscriptionPricePlanUsage​(SubscriptionPricePlanModel value)
      Generated method - Setter of UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices.
      void setUsageChargeEntries​(java.util.Collection<UsageChargeEntryModel> value)
      Generated method - Setter of UsageCharge.usageChargeEntries attribute defined at extension subscriptionservices.
      void setUsageUnit​(UsageUnitModel value)
      Generated method - Setter of UsageCharge.usageUnit attribute defined at extension subscriptionservices.
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _SUBSCRIPTIONPRICEPLAN2USAGECHARGERELATION

        public static final java.lang.String _SUBSCRIPTIONPRICEPLAN2USAGECHARGERELATION
        Generated relation code constant for relation SubscriptionPricePlan2UsageChargeRelation defining source attribute subscriptionPricePlanUsage in extension subscriptionservices.
        See Also:
        Constant Field Values
      • _CPQSUBSCRIPTIONDETAIL2USAGECHARGERELATION

        public static final java.lang.String _CPQSUBSCRIPTIONDETAIL2USAGECHARGERELATION
        Generated relation code constant for relation CpqSubscriptionDetail2UsageChargeRelation defining source attribute cpqSubscriptionUsageCharge in extension sapcpqsbintegration.
        See Also:
        Constant Field Values
      • ID

        public static final java.lang.String ID
        Generated constant - Attribute key of UsageCharge.id attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of UsageCharge.name attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of UsageCharge.currency attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • BILLINGTIME

        public static final java.lang.String BILLINGTIME
        Generated constant - Attribute key of UsageCharge.billingTime attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • USAGEUNIT

        public static final java.lang.String USAGEUNIT
        Generated constant - Attribute key of UsageCharge.usageUnit attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • SUBSCRIPTIONPRICEPLANUSAGE

        public static final java.lang.String SUBSCRIPTIONPRICEPLANUSAGE
        Generated constant - Attribute key of UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • USAGECHARGEENTRIES

        public static final java.lang.String USAGECHARGEENTRIES
        Generated constant - Attribute key of UsageCharge.usageChargeEntries attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • BLOCKSIZE

        public static final java.lang.String BLOCKSIZE
        Generated constant - Attribute key of UsageCharge.blockSize attribute defined at extension saprevenuecloudproduct.
        See Also:
        Constant Field Values
      • MINBLOCKS

        public static final java.lang.String MINBLOCKS
        Generated constant - Attribute key of UsageCharge.minBlocks attribute defined at extension saprevenuecloudproduct.
        See Also:
        Constant Field Values
      • SUBSCRIPTIONBILLINGID

        public static final java.lang.String SUBSCRIPTIONBILLINGID
        Generated constant - Attribute key of UsageCharge.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
        See Also:
        Constant Field Values
      • CPQSUBSCRIPTIONUSAGECHARGE

        public static final java.lang.String CPQSUBSCRIPTIONUSAGECHARGE
        Generated constant - Attribute key of UsageCharge.cpqSubscriptionUsageCharge attribute defined at extension sapcpqsbintegration.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UsageChargeModel

        public UsageChargeModel()
        Generated constructor - Default constructor for generic creation.
      • UsageChargeModel

        public UsageChargeModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • UsageChargeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public UsageChargeModel​(UsageUnitModel _usageUnit)
        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
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _usageUnit - initial attribute declared by type UsageCharge at extension subscriptionservices
      • UsageChargeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public UsageChargeModel​(CatalogVersionModel _catalogVersion,
                                java.lang.String _id,
                                ItemModel _owner,
                                UsageUnitModel _usageUnit)
        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
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type UsageCharge at extension subscriptionservices
        _id - initial attribute declared by type UsageCharge at extension subscriptionservices
        _owner - initial attribute declared by type Item at extension core
        _usageUnit - initial attribute declared by type UsageCharge at extension subscriptionservices
    • Method Detail

      • getBillingTime

        @Accessor(qualifier="billingTime",
                  type=GETTER)
        public BillingTimeModel getBillingTime()
        Generated method - Getter of the UsageCharge.billingTime dynamic attribute defined at extension subscriptionservices.
        Returns:
        the billingTime - Billing Time
      • getBlockSize

        @Accessor(qualifier="blockSize",
                  type=GETTER)
        public java.lang.Integer getBlockSize()
        Generated method - Getter of the UsageCharge.blockSize attribute defined at extension saprevenuecloudproduct.
        Returns:
        the blockSize - Block size
      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
        Returns:
        the catalogVersion - Catalog Version
      • getCpqSubscriptionUsageCharge

        @Accessor(qualifier="cpqSubscriptionUsageCharge",
                  type=GETTER)
        public CpqSubscriptionDetailModel getCpqSubscriptionUsageCharge()
        Generated method - Getter of the UsageCharge.cpqSubscriptionUsageCharge attribute defined at extension sapcpqsbintegration.
        Returns:
        the cpqSubscriptionUsageCharge
      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the UsageCharge.currency dynamic attribute defined at extension subscriptionservices.
        Returns:
        the currency - Currency from parent
      • getId

        @Accessor(qualifier="id",
                  type=GETTER)
        public java.lang.String getId()
        Generated method - Getter of the UsageCharge.id attribute defined at extension subscriptionservices.
        Returns:
        the id - Identifier
      • getMinBlocks

        @Accessor(qualifier="minBlocks",
                  type=GETTER)
        public java.lang.Integer getMinBlocks()
        Generated method - Getter of the UsageCharge.minBlocks attribute defined at extension saprevenuecloudproduct.
        Returns:
        the minBlocks - Minimum blocks
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the UsageCharge.name attribute defined at extension subscriptionservices.
        Returns:
        the name - Name
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the UsageCharge.name attribute defined at extension subscriptionservices.
        Parameters:
        loc - the value localization key
        Returns:
        the name - Name
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getSubscriptionBillingId

        @Accessor(qualifier="subscriptionBillingId",
                  type=GETTER)
        public java.lang.String getSubscriptionBillingId()
        Generated method - Getter of the UsageCharge.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
        Returns:
        the subscriptionBillingId - Subscription Billing Charge ID
      • getSubscriptionPricePlanUsage

        @Accessor(qualifier="subscriptionPricePlanUsage",
                  type=GETTER)
        public SubscriptionPricePlanModel getSubscriptionPricePlanUsage()
        Generated method - Getter of the UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices.
        Returns:
        the subscriptionPricePlanUsage
      • getUsageChargeEntries

        @Accessor(qualifier="usageChargeEntries",
                  type=GETTER)
        public java.util.Collection<UsageChargeEntryModel> getUsageChargeEntries()
        Generated method - Getter of the UsageCharge.usageChargeEntries attribute defined at extension subscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the usageChargeEntries
      • getUsageUnit

        @Accessor(qualifier="usageUnit",
                  type=GETTER)
        public UsageUnitModel getUsageUnit()
        Generated method - Getter of the UsageCharge.usageUnit attribute defined at extension subscriptionservices.
        Returns:
        the usageUnit - Usage Unit
      • setBlockSize

        @Accessor(qualifier="blockSize",
                  type=SETTER)
        public void setBlockSize​(java.lang.Integer value)
        Generated method - Setter of UsageCharge.blockSize attribute defined at extension saprevenuecloudproduct.
        Parameters:
        value - the blockSize - Block size
      • setCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Initial setter of UsageCharge.catalogVersion attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the catalogVersion - Catalog Version
      • setCpqSubscriptionUsageCharge

        @Accessor(qualifier="cpqSubscriptionUsageCharge",
                  type=SETTER)
        public void setCpqSubscriptionUsageCharge​(CpqSubscriptionDetailModel value)
        Generated method - Setter of UsageCharge.cpqSubscriptionUsageCharge attribute defined at extension sapcpqsbintegration.
        Parameters:
        value - the cpqSubscriptionUsageCharge
      • setId

        @Accessor(qualifier="id",
                  type=SETTER)
        public void setId​(java.lang.String value)
        Generated method - Initial setter of UsageCharge.id attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the id - Identifier
      • setMinBlocks

        @Accessor(qualifier="minBlocks",
                  type=SETTER)
        public void setMinBlocks​(java.lang.Integer value)
        Generated method - Setter of UsageCharge.minBlocks attribute defined at extension saprevenuecloudproduct.
        Parameters:
        value - the minBlocks - Minimum blocks
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of UsageCharge.name attribute defined at extension subscriptionservices.
        Parameters:
        value - the name - Name
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of UsageCharge.name attribute defined at extension subscriptionservices.
        Parameters:
        value - the name - Name
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setSubscriptionBillingId

        @Accessor(qualifier="subscriptionBillingId",
                  type=SETTER)
        public void setSubscriptionBillingId​(java.lang.String value)
        Generated method - Setter of UsageCharge.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
        Parameters:
        value - the subscriptionBillingId - Subscription Billing Charge ID
      • setSubscriptionPricePlanUsage

        @Accessor(qualifier="subscriptionPricePlanUsage",
                  type=SETTER)
        public void setSubscriptionPricePlanUsage​(SubscriptionPricePlanModel value)
        Generated method - Setter of UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices.
        Parameters:
        value - the subscriptionPricePlanUsage
      • setUsageChargeEntries

        @Accessor(qualifier="usageChargeEntries",
                  type=SETTER)
        public void setUsageChargeEntries​(java.util.Collection<UsageChargeEntryModel> value)
        Generated method - Setter of UsageCharge.usageChargeEntries attribute defined at extension subscriptionservices.
        Parameters:
        value - the usageChargeEntries
      • setUsageUnit

        @Accessor(qualifier="usageUnit",
                  type=SETTER)
        public void setUsageUnit​(UsageUnitModel value)
        Generated method - Setter of UsageCharge.usageUnit attribute defined at extension subscriptionservices.
        Parameters:
        value - the usageUnit - Usage Unit