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:
Serializable
Generated model class for type PerUnitUsageCharge 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 ofPerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.Fields inherited from class de.hybris.platform.subscriptionservices.model.UsageChargeModel
_SUBSCRIPTIONPRICEPLAN2USAGECHARGERELATION, BILLINGTIME, CATALOGVERSION, CURRENCY, ID, NAME, SUBSCRIPTIONPRICEPLANUSAGE, USAGECHARGEENTRIES, USAGEUNITFields 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.PerUnitUsageChargeModel(CatalogVersionModel _catalogVersion, 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(de.hybris.platform.servicelayer.model.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
Modifier and TypeMethodDescriptionGenerated method - Getter of thePerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.voidGenerated 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, setUsageUnitMethods 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:
-
USAGECHARGETYPE
Generated constant - Attribute key ofPerUnitUsageCharge.usageChargeTypeattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
PerUnitUsageChargeModel
public PerUnitUsageChargeModel()Generated constructor - Default constructor for generic creation. -
PerUnitUsageChargeModel
public PerUnitUsageChargeModel(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
-
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, 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 Details
-
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
-