Class PerUnitUsageChargeModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.subscriptionservices.model.UsageChargeModel
-
- de.hybris.platform.subscriptionservices.model.PerUnitUsageChargeModel
-
- All Implemented Interfaces:
java.io.Serializable
public class PerUnitUsageChargeModel extends UsageChargeModel
Generated model class for type PerUnitUsageCharge 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.StringUSAGECHARGETYPEGenerated constant - Attribute key ofPerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.-
Fields inherited from class de.hybris.platform.subscriptionservices.model.UsageChargeModel
_SUBSCRIPTIONPRICEPLAN2USAGECHARGERELATION, BILLINGTIME, CATALOGVERSION, CURRENCY, ID, NAME, SUBSCRIPTIONPRICEPLANUSAGE, USAGECHARGEENTRIES, USAGEUNIT
-
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 PerUnitUsageChargeModel()Generated constructor - Default constructor for generic creation.PerUnitUsageChargeModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, UsageUnitModel _usageUnit)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPerUnitUsageChargeModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextPerUnitUsageChargeModel(UsageUnitModel _usageUnit)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 UsageChargeTypegetUsageChargeType()Generated method - Getter of thePerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.voidsetUsageChargeType(UsageChargeType value)Generated method - Setter ofPerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.-
Methods inherited from class de.hybris.platform.subscriptionservices.model.UsageChargeModel
getBillingTime, getCatalogVersion, getCurrency, getId, getName, getName, getSubscriptionPricePlanUsage, getUsageChargeEntries, getUsageUnit, setCatalogVersion, setId, setName, setName, setSubscriptionPricePlanUsage, setUsageChargeEntries, setUsageUnit
-
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
-
USAGECHARGETYPE
public static final java.lang.String USAGECHARGETYPE
Generated constant - Attribute key ofPerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PerUnitUsageChargeModel
public PerUnitUsageChargeModel()
Generated constructor - Default constructor for generic creation.
-
PerUnitUsageChargeModel
public PerUnitUsageChargeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PerUnitUsageChargeModel
@Deprecated(since="4.1.1", forRemoval=true) public PerUnitUsageChargeModel(UsageUnitModel _usageUnit)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:
_usageUnit- initial attribute declared by typeUsageChargeat extensionsubscriptionservices
-
PerUnitUsageChargeModel
@Deprecated(since="4.1.1", forRemoval=true) public PerUnitUsageChargeModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, UsageUnitModel _usageUnit)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 typeUsageChargeat extensionsubscriptionservices_id- initial attribute declared by typeUsageChargeat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore_usageUnit- initial attribute declared by typeUsageChargeat extensionsubscriptionservices
-
-
Method Detail
-
getUsageChargeType
@Accessor(qualifier="usageChargeType", type=GETTER) public UsageChargeType getUsageChargeType()
Generated method - Getter of thePerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.- Returns:
- the usageChargeType - Usage Charge Type
-
setUsageChargeType
@Accessor(qualifier="usageChargeType", type=SETTER) public void setUsageChargeType(UsageChargeType value)
Generated method - Setter ofPerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.- Parameters:
value- the usageChargeType - Usage Charge Type
-
-