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 _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 CATALOGVERSION
      Generated constant - Attribute key of UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
      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 NAME
      Generated constant - Attribute key of UsageCharge.name attribute defined at extension subscriptionservices.
      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.
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
      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.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.
      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 setCatalogVersion​(CatalogVersionModel value)
      Generated method - Initial setter of UsageCharge.catalogVersion attribute defined at extension subscriptionservices.
      void setId​(java.lang.String value)
      Generated method - Initial setter of UsageCharge.id attribute defined at extension subscriptionservices.
      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 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
      • 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
    • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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