Class 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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _TMAABSTRACTORDERPRICE2TMAABSTRACTORDERDISCOUNTALTERATIONPRICE

      public static final String _TMAABSTRACTORDERPRICE2TMAABSTRACTORDERDISCOUNTALTERATIONPRICE
      Generated relation code constant for relation TmaAbstractOrderPrice2TmaAbstractOrderDiscountAlterationPrice defining source attribute discountedPrice in extension tuadatacommonsservices.
      See Also:
    • APPLIEDBYPROMOTIONID

      public static final String APPLIEDBYPROMOTIONID
      Generated constant - Attribute key of TmaAbstractOrderDiscountAlterationPrice.appliedByPromotionId attribute defined at extension tuadatacommonsservices.
      See Also:
    • DISCOUNTEDPRICE

      public static final String DISCOUNTEDPRICE
      Generated constant - Attribute key of TmaAbstractOrderDiscountAlterationPrice.discountedPrice attribute defined at extension tuadatacommonsservices.
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _billingTime - initial attribute declared by type TmaAbstractOrderComponentPrice at extension tuadatacommonsservices
      _id - initial attribute declared by type TmaAbstractOrderPrice at extension tuadatacommonsservices
      _priceType - initial attribute declared by type TmaAbstractOrderComponentPrice at extension tuadatacommonsservices
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _billingTime - initial attribute declared by type TmaAbstractOrderComponentPrice at extension tuadatacommonsservices
      _id - initial attribute declared by type TmaAbstractOrderPrice at extension tuadatacommonsservices
      _owner - initial attribute declared by type Item at extension core
      _priceType - initial attribute declared by type TmaAbstractOrderComponentPrice at extension tuadatacommonsservices
  • Method Details

    • getAppliedByPromotionId

      @Accessor(qualifier="appliedByPromotionId", type=GETTER) public String getAppliedByPromotionId()
      Generated method - Getter of the TmaAbstractOrderDiscountAlterationPrice.appliedByPromotionId attribute defined at extension tuadatacommonsservices.
      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 the TmaAbstractOrderDiscountAlterationPrice.discountedPrice attribute defined at extension tuadatacommonsservices.
      Returns:
      the discountedPrice - Price attribute containing the applicable discounts.
    • setAppliedByPromotionId

      @Accessor(qualifier="appliedByPromotionId", type=SETTER) public void setAppliedByPromotionId(String value)
      Generated method - Setter of TmaAbstractOrderDiscountAlterationPrice.appliedByPromotionId attribute defined at extension tuadatacommonsservices.
      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 of TmaAbstractOrderDiscountAlterationPrice.discountedPrice attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the discountedPrice - Price attribute containing the applicable discounts.