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_TYPECODEGenerated model type code constant.static java.lang.StringBILLINGTIMEGenerated constant - Attribute key ofChargeEntry.billingTimeattribute defined at extensionsubscriptionservices.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.static java.lang.StringCURRENCYGenerated constant - Attribute key ofChargeEntry.currencyattribute defined at extensionsubscriptionservices.static java.lang.StringIDGenerated constant - Attribute key ofChargeEntry.idattribute defined at extensionsubscriptionservices.static java.lang.StringPRICEGenerated 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, 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 BillingTimeModelgetBillingTime()Generated method - Getter of theChargeEntry.billingTimedynamic attribute defined at extensionsubscriptionservices.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.CurrencyModelgetCurrency()Generated method - Getter of theChargeEntry.currencydynamic attribute defined at extensionsubscriptionservices.java.lang.StringgetId()Generated method - Getter of theChargeEntry.idattribute defined at extensionsubscriptionservices.java.lang.DoublegetPrice()Generated method - Getter of theChargeEntry.priceattribute defined at extensionsubscriptionservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Initial setter ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.voidsetId(java.lang.String value)Generated method - Initial setter ofChargeEntry.idattribute defined at extensionsubscriptionservices.voidsetPrice(java.lang.Double value)Generated 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, 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.idattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
PRICE
public static final java.lang.String PRICE
Generated constant - Attribute key ofChargeEntry.priceattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofChargeEntry.currencyattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
BILLINGTIME
public static final java.lang.String BILLINGTIME
Generated constant - Attribute key ofChargeEntry.billingTimeattribute 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 typeChargeEntryat 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 typeChargeEntryat extensionsubscriptionservices_id- initial attribute declared by typeChargeEntryat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore_price- initial attribute declared by typeChargeEntryat extensionsubscriptionservices
-
-
Method Detail
-
getBillingTime
@Accessor(qualifier="billingTime", type=GETTER) public BillingTimeModel getBillingTime()
Generated method - Getter of theChargeEntry.billingTimedynamic attribute defined at extensionsubscriptionservices.- Returns:
- the billingTime - Billing Time
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theChargeEntry.catalogVersionattribute defined at extensionsubscriptionservices.- Returns:
- the catalogVersion - Catalog Version
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theChargeEntry.currencydynamic 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.idattribute defined at extensionsubscriptionservices.- Returns:
- the id - Identifier
-
getPrice
@Accessor(qualifier="price", type=GETTER) public java.lang.Double 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
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
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
-
-