Class UsageChargeModel

    • 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
      • 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
    • Constructor Detail

      • UsageChargeModel

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

        public UsageChargeModel​(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
      • 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
      • 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
      • 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
      • 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