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:
java.io.Serializable
- Direct Known Subclasses:
OneTimeChargeEntryModel
,RecurringChargeEntryModel
,UsageChargeEntryModel
public class ChargeEntryModel extends ItemModel
Generated model class for type ChargeEntry first defined at extension subscriptionservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
BILLINGTIME
Generated constant - Attribute key ofChargeEntry.billingTime
attribute defined at extensionsubscriptionservices
.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofChargeEntry.catalogVersion
attribute defined at extensionsubscriptionservices
.static java.lang.String
CURRENCY
Generated constant - Attribute key ofChargeEntry.currency
attribute defined at extensionsubscriptionservices
.static java.lang.String
ID
Generated constant - Attribute key ofChargeEntry.id
attribute defined at extensionsubscriptionservices
.static java.lang.String
PRICE
Generated constant - Attribute key ofChargeEntry.price
attribute defined at extensionsubscriptionservices
.-
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 ChargeEntryModel()
Generated constructor - Default constructor for generic creation.ChargeEntryModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, java.lang.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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextChargeEntryModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingTimeModel
getBillingTime()
Generated method - Getter of theChargeEntry.billingTime
dynamic attribute defined at extensionsubscriptionservices
.CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theChargeEntry.catalogVersion
attribute defined at extensionsubscriptionservices
.CurrencyModel
getCurrency()
Generated method - Getter of theChargeEntry.currency
dynamic attribute defined at extensionsubscriptionservices
.java.lang.String
getId()
Generated method - Getter of theChargeEntry.id
attribute defined at extensionsubscriptionservices
.java.lang.Double
getPrice()
Generated method - Getter of theChargeEntry.price
attribute defined at extensionsubscriptionservices
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter ofChargeEntry.catalogVersion
attribute defined at extensionsubscriptionservices
.void
setId(java.lang.String value)
Generated method - Initial setter ofChargeEntry.id
attribute defined at extensionsubscriptionservices
.void
setPrice(java.lang.Double value)
Generated method - Setter ofChargeEntry.price
attribute defined at extensionsubscriptionservices
.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofChargeEntry.id
attribute defined at extensionsubscriptionservices
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofChargeEntry.catalogVersion
attribute defined at extensionsubscriptionservices
.- See Also:
- Constant Field Values
-
PRICE
public static final java.lang.String PRICE
Generated constant - Attribute key ofChargeEntry.price
attribute defined at extensionsubscriptionservices
.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofChargeEntry.currency
attribute defined at extensionsubscriptionservices
.- See Also:
- Constant Field Values
-
BILLINGTIME
public static final java.lang.String BILLINGTIME
Generated constant - Attribute key ofChargeEntry.billingTime
attribute defined at extensionsubscriptionservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChargeEntryModel
public ChargeEntryModel()
Generated constructor - Default constructor for generic creation.
-
ChargeEntryModel
public ChargeEntryModel(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(since="4.1.1", forRemoval=true) public ChargeEntryModel(java.lang.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 - Constructor with all mandatory attributes.- Parameters:
_price
- initial attribute declared by typeChargeEntry
at extensionsubscriptionservices
-
ChargeEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public ChargeEntryModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, java.lang.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 typeChargeEntry
at extensionsubscriptionservices
_id
- initial attribute declared by typeChargeEntry
at extensionsubscriptionservices
_owner
- initial attribute declared by typeItem
at extensioncore
_price
- initial attribute declared by typeChargeEntry
at extensionsubscriptionservices
-
-
Method Detail
-
getBillingTime
@Accessor(qualifier="billingTime", type=GETTER) public BillingTimeModel getBillingTime()
Generated method - Getter of theChargeEntry.billingTime
dynamic attribute defined at extensionsubscriptionservices
.- Returns:
- the billingTime - Billing Time
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theChargeEntry.catalogVersion
attribute defined at extensionsubscriptionservices
.- Returns:
- the catalogVersion - Catalog Version
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theChargeEntry.currency
dynamic attribute defined at extensionsubscriptionservices
.- Returns:
- the currency - Currency from parent
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theChargeEntry.id
attribute defined at extensionsubscriptionservices
.- Returns:
- the id - Identifier
-
getPrice
@Accessor(qualifier="price", type=GETTER) public java.lang.Double getPrice()
Generated method - Getter of theChargeEntry.price
attribute defined at extensionsubscriptionservices
.- Returns:
- the price - Price
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter ofChargeEntry.catalogVersion
attribute defined at extensionsubscriptionservices
. 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 ofChargeEntry.id
attribute defined at extensionsubscriptionservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the id - Identifier
-
-