Class PerUnitUsageChargeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PerUnitUsageChargeModel
    extends UsageChargeModel
    Generated model class for type PerUnitUsageCharge first defined at extension subscriptionservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String USAGECHARGETYPE
        Generated constant - Attribute key of PerUnitUsageCharge.usageChargeType attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • INCLUDEDQTY

        public static final java.lang.String INCLUDEDQTY
        Generated constant - Attribute key of PerUnitUsageCharge.includedQty attribute defined at extension saprevenuecloudproduct.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PerUnitUsageChargeModel

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

        public PerUnitUsageChargeModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • PerUnitUsageChargeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PerUnitUsageChargeModel​(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
      • PerUnitUsageChargeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PerUnitUsageChargeModel​(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

      • getIncludedQty

        @Accessor(qualifier="includedQty",
                  type=GETTER)
        public java.lang.Integer getIncludedQty()
        Generated method - Getter of the PerUnitUsageCharge.includedQty attribute defined at extension saprevenuecloudproduct.
        Returns:
        the includedQty - Included quantity
      • getUsageChargeType

        @Accessor(qualifier="usageChargeType",
                  type=GETTER)
        public UsageChargeType getUsageChargeType()
        Generated method - Getter of the PerUnitUsageCharge.usageChargeType attribute defined at extension subscriptionservices.
        Returns:
        the usageChargeType - Usage Charge Type
      • setIncludedQty

        @Accessor(qualifier="includedQty",
                  type=SETTER)
        public void setIncludedQty​(java.lang.Integer value)
        Generated method - Setter of PerUnitUsageCharge.includedQty attribute defined at extension saprevenuecloudproduct.
        Parameters:
        value - the includedQty - Included quantity
      • setUsageChargeType

        @Accessor(qualifier="usageChargeType",
                  type=SETTER)
        public void setUsageChargeType​(UsageChargeType value)
        Generated method - Setter of PerUnitUsageCharge.usageChargeType attribute defined at extension subscriptionservices.
        Parameters:
        value - the usageChargeType - Usage Charge Type