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,TierUsageChargeEntryModel
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated relation code constant for relationUsageCharge2UsageChargeEntryRelationdefining source attributeusageChargein extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofUsageChargeEntry.usageChargeattribute defined at extensionsubscriptionservices.Fields inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel
BILLINGTIME, CATALOGVERSION, CURRENCY, ID, PRICEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersGenerated constructor - Default constructor for creation with existing contextUsageChargeEntryModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theUsageChargeEntry.usageChargeattribute defined at extensionsubscriptionservices.voidsetUsageCharge(UsageChargeModel value) Generated method - Setter ofUsageChargeEntry.usageChargeattribute defined at extensionsubscriptionservices.Methods inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel
getBillingTime, getCatalogVersion, getCurrency, getId, getPrice, setCatalogVersion, setId, setPriceMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_USAGECHARGE2USAGECHARGEENTRYRELATION
Generated relation code constant for relationUsageCharge2UsageChargeEntryRelationdefining source attributeusageChargein extensionsubscriptionservices.- See Also:
-
USAGECHARGE
Generated constant - Attribute key ofUsageChargeEntry.usageChargeattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
UsageChargeEntryModel
public UsageChargeEntryModel()Generated constructor - Default constructor for generic creation. -
UsageChargeEntryModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
UsageChargeEntryModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_price- initial attribute declared by typeChargeEntryat extensionsubscriptionservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeChargeEntryat extensionsubscriptionservices_id- initial attribute declared by typeChargeEntryat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore_price- initial attribute declared by typeChargeEntryat extensionsubscriptionservices
-
-
Method Details
-
getUsageCharge
Generated method - Getter of theUsageChargeEntry.usageChargeattribute defined at extensionsubscriptionservices.- Returns:
- the usageCharge
-
setUsageCharge
Generated method - Setter ofUsageChargeEntry.usageChargeattribute defined at extensionsubscriptionservices.- Parameters:
value- the usageCharge
-