Class ChangeProductPriceBundleRuleModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.configurablebundleservices.model.AbstractBundleRuleModel
-
- de.hybris.platform.configurablebundleservices.model.ChangeProductPriceBundleRuleModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ChangeProductPriceBundleRuleModel extends AbstractBundleRuleModel
Generated model class for type ChangeProductPriceBundleRule first defined at extension configurablebundleservices.- 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_BILLINGEVENT2CHANGEPRODUCTPRICEBUNDLERULEGenerated relation code constant for relationBillingEvent2ChangeProductPriceBundleRuledefining source attributebillingEventin extensionsubscriptionbundleservices.static java.lang.String_BUNDLETEMPLATEPRICERULESRELATIONGenerated relation code constant for relationBundleTemplatePriceRulesRelationdefining source attributebundleTemplatein extensionconfigurablebundleservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBILLINGEVENTGenerated constant - Attribute key ofChangeProductPriceBundleRule.billingEventattribute defined at extensionsubscriptionbundleservices.static java.lang.StringBUNDLETEMPLATEGenerated constant - Attribute key ofChangeProductPriceBundleRule.bundleTemplateattribute defined at extensionconfigurablebundleservices.static java.lang.StringCURRENCYGenerated constant - Attribute key ofChangeProductPriceBundleRule.currencyattribute defined at extensionconfigurablebundleservices.static java.lang.StringPRICEGenerated constant - Attribute key ofChangeProductPriceBundleRule.priceattribute defined at extensionconfigurablebundleservices.-
Fields inherited from class de.hybris.platform.configurablebundleservices.model.AbstractBundleRuleModel
CATALOGVERSION, CONDITIONALPRODUCTS, ID, NAME, RULETYPE, TARGETPRODUCTS
-
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 ChangeProductPriceBundleRuleModel()Generated constructor - Default constructor for generic creation.ChangeProductPriceBundleRuleModel(CatalogVersionModel _catalogVersion, CurrencyModel _currency, java.lang.String _id, ItemModel _owner, java.math.BigDecimal _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 parametersChangeProductPriceBundleRuleModel(CatalogVersionModel _catalogVersion, CurrencyModel _currency, java.math.BigDecimal _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 parametersChangeProductPriceBundleRuleModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingEventModelgetBillingEvent()Generated method - Getter of theChangeProductPriceBundleRule.billingEventattribute defined at extensionsubscriptionbundleservices.BundleTemplateModelgetBundleTemplate()Generated method - Getter of theChangeProductPriceBundleRule.bundleTemplateattribute defined at extensionconfigurablebundleservices.CurrencyModelgetCurrency()Generated method - Getter of theChangeProductPriceBundleRule.currencyattribute defined at extensionconfigurablebundleservices.java.math.BigDecimalgetPrice()Generated method - Getter of theChangeProductPriceBundleRule.priceattribute defined at extensionconfigurablebundleservices.voidsetBillingEvent(BillingEventModel value)Generated method - Setter ofChangeProductPriceBundleRule.billingEventattribute defined at extensionsubscriptionbundleservices.voidsetBundleTemplate(BundleTemplateModel value)Generated method - Setter ofChangeProductPriceBundleRule.bundleTemplateattribute defined at extensionconfigurablebundleservices.voidsetCurrency(CurrencyModel value)Generated method - Setter ofChangeProductPriceBundleRule.currencyattribute defined at extensionconfigurablebundleservices.voidsetPrice(java.math.BigDecimal value)Generated method - Setter ofChangeProductPriceBundleRule.priceattribute defined at extensionconfigurablebundleservices.-
Methods inherited from class de.hybris.platform.configurablebundleservices.model.AbstractBundleRuleModel
getCatalogVersion, getConditionalProducts, getId, getName, getRuleType, getTargetProducts, setCatalogVersion, setConditionalProducts, setId, setName, setRuleType, setTargetProducts
-
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
-
_BUNDLETEMPLATEPRICERULESRELATION
public static final java.lang.String _BUNDLETEMPLATEPRICERULESRELATION
Generated relation code constant for relationBundleTemplatePriceRulesRelationdefining source attributebundleTemplatein extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
_BILLINGEVENT2CHANGEPRODUCTPRICEBUNDLERULE
public static final java.lang.String _BILLINGEVENT2CHANGEPRODUCTPRICEBUNDLERULE
Generated relation code constant for relationBillingEvent2ChangeProductPriceBundleRuledefining source attributebillingEventin extensionsubscriptionbundleservices.- See Also:
- Constant Field Values
-
PRICE
public static final java.lang.String PRICE
Generated constant - Attribute key ofChangeProductPriceBundleRule.priceattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofChangeProductPriceBundleRule.currencyattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
BUNDLETEMPLATE
public static final java.lang.String BUNDLETEMPLATE
Generated constant - Attribute key ofChangeProductPriceBundleRule.bundleTemplateattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
BILLINGEVENT
public static final java.lang.String BILLINGEVENT
Generated constant - Attribute key ofChangeProductPriceBundleRule.billingEventattribute defined at extensionsubscriptionbundleservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChangeProductPriceBundleRuleModel
public ChangeProductPriceBundleRuleModel()
Generated constructor - Default constructor for generic creation.
-
ChangeProductPriceBundleRuleModel
public ChangeProductPriceBundleRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ChangeProductPriceBundleRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public ChangeProductPriceBundleRuleModel(CatalogVersionModel _catalogVersion, CurrencyModel _currency, java.math.BigDecimal _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:
_catalogVersion- initial attribute declared by typeAbstractBundleRuleat extensionconfigurablebundleservices_currency- initial attribute declared by typeChangeProductPriceBundleRuleat extensionconfigurablebundleservices_price- initial attribute declared by typeChangeProductPriceBundleRuleat extensionconfigurablebundleservices
-
ChangeProductPriceBundleRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public ChangeProductPriceBundleRuleModel(CatalogVersionModel _catalogVersion, CurrencyModel _currency, java.lang.String _id, ItemModel _owner, java.math.BigDecimal _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 typeAbstractBundleRuleat extensionconfigurablebundleservices_currency- initial attribute declared by typeChangeProductPriceBundleRuleat extensionconfigurablebundleservices_id- initial attribute declared by typeAbstractBundleRuleat extensionconfigurablebundleservices_owner- initial attribute declared by typeItemat extensioncore_price- initial attribute declared by typeChangeProductPriceBundleRuleat extensionconfigurablebundleservices
-
-
Method Detail
-
getBillingEvent
@Accessor(qualifier="billingEvent", type=GETTER) public BillingEventModel getBillingEvent()
Generated method - Getter of theChangeProductPriceBundleRule.billingEventattribute defined at extensionsubscriptionbundleservices.- Returns:
- the billingEvent
-
getBundleTemplate
@Accessor(qualifier="bundleTemplate", type=GETTER) public BundleTemplateModel getBundleTemplate()
Generated method - Getter of theChangeProductPriceBundleRule.bundleTemplateattribute defined at extensionconfigurablebundleservices.- Returns:
- the bundleTemplate
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theChangeProductPriceBundleRule.currencyattribute defined at extensionconfigurablebundleservices.- Returns:
- the currency - Currency
-
getPrice
@Accessor(qualifier="price", type=GETTER) public java.math.BigDecimal getPrice()
Generated method - Getter of theChangeProductPriceBundleRule.priceattribute defined at extensionconfigurablebundleservices.- Returns:
- the price - price set by bundle rule
-
setBillingEvent
@Accessor(qualifier="billingEvent", type=SETTER) public void setBillingEvent(BillingEventModel value)
Generated method - Setter ofChangeProductPriceBundleRule.billingEventattribute defined at extensionsubscriptionbundleservices.- Parameters:
value- the billingEvent
-
setBundleTemplate
@Accessor(qualifier="bundleTemplate", type=SETTER) public void setBundleTemplate(BundleTemplateModel value)
Generated method - Setter ofChangeProductPriceBundleRule.bundleTemplateattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the bundleTemplate
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofChangeProductPriceBundleRule.currencyattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the currency - Currency
-
-