java.lang.Object
de.hybris.platform.subscribedproducttmfwebservices.v1.dto.PriceAlteration

@Deprecated(since="2208") public class PriceAlteration extends Object
Deprecated.
Is an amount, usually of money, that modifies the price charged for an order item.
  • Constructor Details

    • PriceAlteration

      public PriceAlteration()
      Deprecated.
  • Method Details

    • applicationDuration

      public PriceAlteration applicationDuration(Integer applicationDuration)
      Deprecated.
    • getApplicationDuration

      public Integer getApplicationDuration()
      Deprecated.
      Duration during which the alteration applies on the order item price (for instance 2 months free of charge for the recurring charge)
      Returns:
      applicationDuration
    • setApplicationDuration

      public void setApplicationDuration(Integer applicationDuration)
      Deprecated.
    • description

      public PriceAlteration description(String description)
      Deprecated.
    • getDescription

      public String getDescription()
      Deprecated.
      A narrative that explains in detail the semantics of this order item price alteration
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Deprecated.
    • name

      public PriceAlteration name(String name)
      Deprecated.
    • getName

      public String getName()
      Deprecated.
      Name of the order item price alteration
      Returns:
      name
    • setName

      public void setName(String name)
      Deprecated.
    • priceType

      public PriceAlteration priceType(String priceType)
      Deprecated.
    • getPriceType

      @NotNull public @NotNull String getPriceType()
      Deprecated.
      A category that describes the price such as recurring, one time and usage.
      Returns:
      priceType
    • setPriceType

      public void setPriceType(String priceType)
      Deprecated.
    • priority

      public PriceAlteration priority(Integer priority)
      Deprecated.
    • getPriority

      public Integer getPriority()
      Deprecated.
      Priority level for applying this alteration among all the defined alterations on the order item price
      Returns:
      priority
    • setPriority

      public void setPriority(Integer priority)
      Deprecated.
    • recurringChargePeriod

      public PriceAlteration recurringChargePeriod(String recurringChargePeriod)
      Deprecated.
    • getRecurringChargePeriod

      public String getRecurringChargePeriod()
      Deprecated.
      Could be month, week...
      Returns:
      recurringChargePeriod
    • setRecurringChargePeriod

      public void setRecurringChargePeriod(String recurringChargePeriod)
      Deprecated.
    • unitOfMeasure

      public PriceAlteration unitOfMeasure(String unitOfMeasure)
      Deprecated.
    • getUnitOfMeasure

      public String getUnitOfMeasure()
      Deprecated.
      Could be minutes, GB...
      Returns:
      unitOfMeasure
    • setUnitOfMeasure

      public void setUnitOfMeasure(String unitOfMeasure)
      Deprecated.
    • price

      public PriceAlteration price(Price price)
      Deprecated.
    • getPrice

      @NotNull @Valid public @NotNull @Valid Price getPrice()
      Deprecated.
      Get price
      Returns:
      price
    • setPrice

      public void setPrice(Price price)
      Deprecated.
    • productOfferingPrice

      public PriceAlteration productOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
      Deprecated.
    • getProductOfferingPrice

      @Valid public @Valid ProductOfferingPriceRef getProductOfferingPrice()
      Deprecated.
      Get productOfferingPrice
      Returns:
      productOfferingPrice
    • setProductOfferingPrice

      public void setProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
      Deprecated.
    • atBaseType

      public PriceAlteration atBaseType(String atBaseType)
      Deprecated.
    • getAtBaseType

      public String getAtBaseType()
      Deprecated.
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
      Deprecated.
    • atSchemaLocation

      public PriceAlteration atSchemaLocation(String atSchemaLocation)
      Deprecated.
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Deprecated.
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
      Deprecated.
    • atType

      public PriceAlteration atType(String atType)
      Deprecated.
    • getAtType

      public String getAtType()
      Deprecated.
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object