Class ChargeEntryModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscriptionservices.model.ChargeEntryModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OneTimeChargeEntryModel,RecurringChargeEntryModel,UsageChargeEntryModel
Generated model class for type ChargeEntry 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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofChargeEntry.billingTimeattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofChargeEntry.currencyattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofChargeEntry.idattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofChargeEntry.priceattribute defined at extensionsubscriptionservices.Fields 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.ChargeEntryModel(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 parametersChargeEntryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextChargeEntryModel(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 theChargeEntry.billingTimedynamic attribute defined at extensionsubscriptionservices.Generated method - Getter of theChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.Generated method - Getter of theChargeEntry.currencydynamic attribute defined at extensionsubscriptionservices.getId()Generated method - Getter of theChargeEntry.idattribute defined at extensionsubscriptionservices.getPrice()Generated method - Getter of theChargeEntry.priceattribute defined at extensionsubscriptionservices.voidGenerated method - Initial setter ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.voidGenerated method - Initial setter ofChargeEntry.idattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofChargeEntry.priceattribute defined at extensionsubscriptionservices.Methods 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:
-
ID
Generated constant - Attribute key ofChargeEntry.idattribute defined at extensionsubscriptionservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.- See Also:
-
PRICE
Generated constant - Attribute key ofChargeEntry.priceattribute defined at extensionsubscriptionservices.- See Also:
-
CURRENCY
Generated constant - Attribute key ofChargeEntry.currencyattribute defined at extensionsubscriptionservices.- See Also:
-
BILLINGTIME
Generated constant - Attribute key ofChargeEntry.billingTimeattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
ChargeEntryModel
public ChargeEntryModel()Generated constructor - Default constructor for generic creation. -
ChargeEntryModel
public ChargeEntryModel(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
-
ChargeEntryModel
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
-
ChargeEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public ChargeEntryModel(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
-
getBillingTime
Generated method - Getter of theChargeEntry.billingTimedynamic attribute defined at extensionsubscriptionservices.- Returns:
- the billingTime - Billing Time
-
getCatalogVersion
Generated method - Getter of theChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.- Returns:
- the catalogVersion - Catalog Version
-
getCurrency
Generated method - Getter of theChargeEntry.currencydynamic attribute defined at extensionsubscriptionservices.- Returns:
- the currency - Currency from parent
-
getId
Generated method - Getter of theChargeEntry.idattribute defined at extensionsubscriptionservices.- Returns:
- the id - Identifier
-
getPrice
Generated method - Getter of theChargeEntry.priceattribute defined at extensionsubscriptionservices.- Returns:
- the price - Price
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Initial setter ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices. Can only be used at creation of model - before first save.- Parameters:
value- the catalogVersion - Catalog Version
-
setId
Generated method - Initial setter ofChargeEntry.idattribute defined at extensionsubscriptionservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier
-
setPrice
Generated method - Setter ofChargeEntry.priceattribute defined at extensionsubscriptionservices.- Parameters:
value- the price - Price
-