Class TmaAbstractOrderDiscountAlterationPriceModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderPriceModel
de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderComponentPriceModel
de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderAlterationPriceModel
de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderDiscountAlterationPriceModel
- All Implemented Interfaces:
Serializable
public class TmaAbstractOrderDiscountAlterationPriceModel
extends TmaAbstractOrderAlterationPriceModel
Generated model class for type TmaAbstractOrderDiscountAlterationPrice first defined at extension tuadatacommonsservices.
Entity defining discount price alterations.
- 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 relation code constant for relationTmaAbstractOrderPrice2TmaAbstractOrderDiscountAlterationPricedefining source attributediscountedPricein extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaAbstractOrderDiscountAlterationPrice.appliedByPromotionIdattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaAbstractOrderDiscountAlterationPrice.discountedPriceattribute defined at extensiontuadatacommonsservices.Fields inherited from class de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderAlterationPriceModel
CYCLEEND, CYCLESTART, PERCENTAGEFields inherited from class de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderComponentPriceModel
BILLINGTIME, CURRENCY, DUTYFREEAMOUNT, PRICETYPE, TAXINCLUDEDAMOUNT, TAXRATEFields inherited from class de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderPriceModel
_TMAABSTRACTORDERCOMPOSITEPRICE2TMAABSTRACTORDERPRICE, CATALOGCODE, GLOBALPRICEALTERATIONS, ID, NAME, PARENTPRICEFields 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.TmaAbstractOrderDiscountAlterationPriceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTmaAbstractOrderDiscountAlterationPriceModel(BillingTimeModel _billingTime, String _id, TmaAbstractOrderPriceType _priceType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaAbstractOrderDiscountAlterationPriceModel(BillingTimeModel _billingTime, String _id, ItemModel _owner, TmaAbstractOrderPriceType _priceType) 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 theTmaAbstractOrderDiscountAlterationPrice.appliedByPromotionIdattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaAbstractOrderDiscountAlterationPrice.discountedPriceattribute defined at extensiontuadatacommonsservices.voidsetAppliedByPromotionId(String value) Generated method - Setter ofTmaAbstractOrderDiscountAlterationPrice.appliedByPromotionIdattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaAbstractOrderDiscountAlterationPrice.discountedPriceattribute defined at extensiontuadatacommonsservices.Methods inherited from class de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderAlterationPriceModel
getCycleEnd, getCycleStart, getPercentage, setCycleEnd, setCycleStart, setPercentageMethods inherited from class de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderComponentPriceModel
getBillingTime, getCurrency, getDutyFreeAmount, getPriceType, getTaxIncludedAmount, getTaxRate, setBillingTime, setCurrency, setDutyFreeAmount, setPriceType, setTaxIncludedAmount, setTaxRateMethods inherited from class de.hybris.platform.b2ctelcoservices.model.TmaAbstractOrderPriceModel
getCatalogCode, getGlobalPriceAlterations, getId, getName, getParentPrice, setCatalogCode, setGlobalPriceAlterations, setId, setName, setParentPriceMethods 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:
-
_TMAABSTRACTORDERPRICE2TMAABSTRACTORDERDISCOUNTALTERATIONPRICE
Generated relation code constant for relationTmaAbstractOrderPrice2TmaAbstractOrderDiscountAlterationPricedefining source attributediscountedPricein extensiontuadatacommonsservices.- See Also:
-
APPLIEDBYPROMOTIONID
Generated constant - Attribute key ofTmaAbstractOrderDiscountAlterationPrice.appliedByPromotionIdattribute defined at extensiontuadatacommonsservices.- See Also:
-
DISCOUNTEDPRICE
Generated constant - Attribute key ofTmaAbstractOrderDiscountAlterationPrice.discountedPriceattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TmaAbstractOrderDiscountAlterationPriceModel
public TmaAbstractOrderDiscountAlterationPriceModel()Generated constructor - Default constructor for generic creation. -
TmaAbstractOrderDiscountAlterationPriceModel
public TmaAbstractOrderDiscountAlterationPriceModel(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
-
TmaAbstractOrderDiscountAlterationPriceModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaAbstractOrderDiscountAlterationPriceModel(BillingTimeModel _billingTime, String _id, TmaAbstractOrderPriceType _priceType) 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:
_billingTime- initial attribute declared by typeTmaAbstractOrderComponentPriceat extensiontuadatacommonsservices_id- initial attribute declared by typeTmaAbstractOrderPriceat extensiontuadatacommonsservices_priceType- initial attribute declared by typeTmaAbstractOrderComponentPriceat extensiontuadatacommonsservices
-
TmaAbstractOrderDiscountAlterationPriceModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaAbstractOrderDiscountAlterationPriceModel(BillingTimeModel _billingTime, String _id, ItemModel _owner, TmaAbstractOrderPriceType _priceType) 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:
_billingTime- initial attribute declared by typeTmaAbstractOrderComponentPriceat extensiontuadatacommonsservices_id- initial attribute declared by typeTmaAbstractOrderPriceat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore_priceType- initial attribute declared by typeTmaAbstractOrderComponentPriceat extensiontuadatacommonsservices
-
-
Method Details
-
getAppliedByPromotionId
Generated method - Getter of theTmaAbstractOrderDiscountAlterationPrice.appliedByPromotionIdattribute defined at extensiontuadatacommonsservices.- Returns:
- the appliedByPromotionId - The id of the promotion that applied this Price Alteration.
-
getDiscountedPrice
@Accessor(qualifier="discountedPrice", type=GETTER) public TmaAbstractOrderPriceModel getDiscountedPrice()Generated method - Getter of theTmaAbstractOrderDiscountAlterationPrice.discountedPriceattribute defined at extensiontuadatacommonsservices.- Returns:
- the discountedPrice - Price attribute containing the applicable discounts.
-
setAppliedByPromotionId
@Accessor(qualifier="appliedByPromotionId", type=SETTER) public void setAppliedByPromotionId(String value) Generated method - Setter ofTmaAbstractOrderDiscountAlterationPrice.appliedByPromotionIdattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the appliedByPromotionId - The id of the promotion that applied this Price Alteration.
-
setDiscountedPrice
@Accessor(qualifier="discountedPrice", type=SETTER) public void setDiscountedPrice(TmaAbstractOrderPriceModel value) Generated method - Setter ofTmaAbstractOrderDiscountAlterationPrice.discountedPriceattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the discountedPrice - Price attribute containing the applicable discounts.
-