Class PriceAlteration

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PriceAlteration

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2022-10-21T20:34:47.671Z") public class PriceAlteration extends Object
Is an amount, usually of money, that modifies the price charged for an order item.
  • Constructor Details

    • PriceAlteration

      public PriceAlteration()
  • Method Details

    • atbaseType

      public PriceAlteration atbaseType(String atbaseType)
    • getAtbaseType

      public String getAtbaseType()
      Generic attribute indicating the base class type of the extension class of the current object. Useful only when the class type of the current object is unknown to the implementation.
      Returns:
      atbaseType
    • setAtbaseType

      public void setAtbaseType(String atbaseType)
    • atschemaLocation

      public PriceAlteration atschemaLocation(String atschemaLocation)
    • getAtschemaLocation

      public String getAtschemaLocation()
      Generic attribute containing the link to the schema that defines the structure of the class type of the current object.
      Returns:
      atschemaLocation
    • setAtschemaLocation

      public void setAtschemaLocation(String atschemaLocation)
    • attype

      public PriceAlteration attype(String attype)
    • getAttype

      public String getAttype()
      Generic attribute containing the name of the resource class type
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • applicationDuration

      public PriceAlteration applicationDuration(Integer applicationDuration)
    • getApplicationDuration

      public Integer getApplicationDuration()
      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)
    • description

      public PriceAlteration description(String description)
    • getDescription

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

      public void setDescription(String description)
    • name

      public PriceAlteration name(String name)
    • getName

      public String getName()
      A short descriptive name such as \"Monthly discount\"
      Returns:
      name
    • setName

      public void setName(String name)
    • priceType

      public PriceAlteration priceType(String priceType)
    • getPriceType

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

      public void setPriceType(String priceType)
    • priority

      public PriceAlteration priority(Integer priority)
    • getPriority

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

      public void setPriority(Integer priority)
    • recurringChargePeriod

      public PriceAlteration recurringChargePeriod(String recurringChargePeriod)
    • getRecurringChargePeriod

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

      public void setRecurringChargePeriod(String recurringChargePeriod)
    • unitOfMeasure

      public PriceAlteration unitOfMeasure(String unitOfMeasure)
    • getUnitOfMeasure

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

      public void setUnitOfMeasure(String unitOfMeasure)
    • price

      public PriceAlteration price(Price price)
    • getPrice

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

      public void setPrice(Price price)
    • cycle

      public PriceAlteration cycle(Cycle cycle)
    • getCycle

      @Valid public @Valid Cycle getCycle()
      Get cycle
      Returns:
      cycle
    • setCycle

      public void setCycle(Cycle cycle)
    • productOfferingPrice

      public PriceAlteration productOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • getProductOfferingPrice

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

      public void setProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object