Class OneTimeChargeEntryModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscriptionservices.model.ChargeEntryModel
de.hybris.platform.subscriptionservices.model.OneTimeChargeEntryModel
- All Implemented Interfaces:
Serializable
Generated model class for type OneTimeChargeEntry first defined at extension subscriptionservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationSubscriptionPricePlan2OneTimeChargeEntryRelationdefining source attributesubscriptionPricePlanOneTimein extensionsubscriptionservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.static final StringGenerated constant - Attribute key ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.Fields inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel
BILLINGTIME, CATALOGVERSION, CURRENCY, ID, PRICEFields 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.Generated constructor - Default constructor for creation with existing contextOneTimeChargeEntryModel(BillingEventModel _billingEvent, 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 parametersOneTimeChargeEntryModel(BillingEventModel _billingEvent, 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 theOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.getName()Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.Generated method - Getter of theOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.voidsetBillingEvent(BillingEventModel value) Generated method - Setter ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.voidGenerated method - Setter ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.Methods inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel
getBillingTime, getCatalogVersion, getCurrency, getId, getPrice, setCatalogVersion, setId, setPriceMethods 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:
-
_SUBSCRIPTIONPRICEPLAN2ONETIMECHARGEENTRYRELATION
Generated relation code constant for relationSubscriptionPricePlan2OneTimeChargeEntryRelationdefining source attributesubscriptionPricePlanOneTimein extensionsubscriptionservices.- See Also:
-
NAME
Generated constant - Attribute key ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- See Also:
-
BILLINGEVENT
Generated constant - Attribute key ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.- See Also:
-
SUBSCRIPTIONPRICEPLANONETIME
Generated constant - Attribute key ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.- See Also:
-
-
Constructor Details
-
OneTimeChargeEntryModel
public OneTimeChargeEntryModel()Generated constructor - Default constructor for generic creation. -
OneTimeChargeEntryModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
OneTimeChargeEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OneTimeChargeEntryModel(BillingEventModel _billingEvent, 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:
_billingEvent- initial attribute declared by typeOneTimeChargeEntryat extensionsubscriptionservices_price- initial attribute declared by typeChargeEntryat extensionsubscriptionservices
-
OneTimeChargeEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OneTimeChargeEntryModel(BillingEventModel _billingEvent, 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:
_billingEvent- initial attribute declared by typeOneTimeChargeEntryat extensionsubscriptionservices_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
-
getBillingEvent
Generated method - Getter of theOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.- Returns:
- the billingEvent - Billing Event
-
getName
Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Returns:
- the name - Name
-
getName
Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getSubscriptionPricePlanOneTime
@Accessor(qualifier="subscriptionPricePlanOneTime", type=GETTER) public SubscriptionPricePlanModel getSubscriptionPricePlanOneTime()Generated method - Getter of theOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.- Returns:
- the subscriptionPricePlanOneTime
-
setBillingEvent
@Accessor(qualifier="billingEvent", type=SETTER) public void setBillingEvent(BillingEventModel value) Generated method - Setter ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.- Parameters:
value- the billingEvent - Billing Event
-
setName
Generated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Name
-
setName
Generated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setSubscriptionPricePlanOneTime
@Accessor(qualifier="subscriptionPricePlanOneTime", type=SETTER) public void setSubscriptionPricePlanOneTime(SubscriptionPricePlanModel value) Generated method - Setter ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.- Parameters:
value- the subscriptionPricePlanOneTime
-