Class UsageChargeEntryModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscriptionservices.model.ChargeEntryModel
de.hybris.platform.subscriptionservices.model.UsageChargeEntryModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OverageUsageChargeEntryModel, PerUnitUsageChargeEntryModel, TierUsageChargeEntryModel

public class UsageChargeEntryModel extends ChargeEntryModel
Generated model class for type UsageChargeEntry first defined at extension subscriptionservices.
See Also:
  • 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 final String
    Generated model type code constant.
    static final String
    Generated relation code constant for relation UsageCharge2UsageChargeEntryRelation defining source attribute usageCharge in extension subscriptionservices.
    static final String
    Generated constant - Attribute key of UsageChargeEntry.fixedPrice attribute defined at extension saprevenuecloudproduct.
    static final String
    Generated constant - Attribute key of UsageChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
    static final String
    Generated constant - Attribute key of UsageChargeEntry.usageCharge attribute defined at extension subscriptionservices.

    Fields inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel

    BILLINGTIME, CATALOGVERSION, CURRENCY, ID, PRICE

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    UsageChargeEntryModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner, Double _price)
    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
    UsageChargeEntryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the UsageChargeEntry.fixedPrice attribute defined at extension saprevenuecloudproduct.
    Generated method - Getter of the UsageChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
    Generated method - Getter of the UsageChargeEntry.usageCharge attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of UsageChargeEntry.fixedPrice attribute defined at extension saprevenuecloudproduct.
    void
    Generated method - Setter of UsageChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
    void
    Generated method - Setter of UsageChargeEntry.usageCharge attribute defined at extension subscriptionservices.

    Methods inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel

    getBillingTime, getCatalogVersion, getCurrency, getId, getPrice, setCatalogVersion, setId, setPrice

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    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 Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _USAGECHARGE2USAGECHARGEENTRYRELATION

      public static final String _USAGECHARGE2USAGECHARGEENTRYRELATION
      Generated relation code constant for relation UsageCharge2UsageChargeEntryRelation defining source attribute usageCharge in extension subscriptionservices.
      See Also:
    • USAGECHARGE

      public static final String USAGECHARGE
      Generated constant - Attribute key of UsageChargeEntry.usageCharge attribute defined at extension subscriptionservices.
      See Also:
    • FIXEDPRICE

      public static final String FIXEDPRICE
      Generated constant - Attribute key of UsageChargeEntry.fixedPrice attribute defined at extension saprevenuecloudproduct.
      See Also:
    • SUBSCRIPTIONBILLINGID

      public static final String SUBSCRIPTIONBILLINGID
      Generated constant - Attribute key of UsageChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      See Also:
  • Constructor Details

    • UsageChargeEntryModel

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

      public UsageChargeEntryModel(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
    • UsageChargeEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public UsageChargeEntryModel(Double _price)
      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:
      _price - initial attribute declared by type ChargeEntry at extension subscriptionservices
    • UsageChargeEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public UsageChargeEntryModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner, Double _price)
      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 ChargeEntry at extension subscriptionservices
      _id - initial attribute declared by type ChargeEntry at extension subscriptionservices
      _owner - initial attribute declared by type Item at extension core
      _price - initial attribute declared by type ChargeEntry at extension subscriptionservices
  • Method Details

    • getFixedPrice

      @Accessor(qualifier="fixedPrice", type=GETTER) public Double getFixedPrice()
      Generated method - Getter of the UsageChargeEntry.fixedPrice attribute defined at extension saprevenuecloudproduct.
      Returns:
      the fixedPrice - Fixed price
    • getSubscriptionBillingId

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

      @Accessor(qualifier="usageCharge", type=GETTER) public UsageChargeModel getUsageCharge()
      Generated method - Getter of the UsageChargeEntry.usageCharge attribute defined at extension subscriptionservices.
      Returns:
      the usageCharge
    • setFixedPrice

      @Accessor(qualifier="fixedPrice", type=SETTER) public void setFixedPrice(Double value)
      Generated method - Setter of UsageChargeEntry.fixedPrice attribute defined at extension saprevenuecloudproduct.
      Parameters:
      value - the fixedPrice - Fixed price
    • setSubscriptionBillingId

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

      @Accessor(qualifier="usageCharge", type=SETTER) public void setUsageCharge(UsageChargeModel value)
      Generated method - Setter of UsageChargeEntry.usageCharge attribute defined at extension subscriptionservices.
      Parameters:
      value - the usageCharge