Class PriceAlteration

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

@Validated @Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen", date="2022-10-21T20:35:04.698Z") 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

    • 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()
      Name of the order item price alteration
      Returns:
      name
    • setName

      public void setName(String name)
    • priceType

      public PriceAlteration priceType(String priceType)
    • getPriceType

      @NotNull public @NotNull 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

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

      public void setPrice(Price price)
    • productOfferingPrice

      public PriceAlteration productOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • getProductOfferingPrice

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

      public void setProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • atbaseType

      public PriceAlteration atbaseType(String atbaseType)
    • getAtbaseType

      public String getAtbaseType()
      When sub-classing, this defines the super-class
      Returns:
      atbaseType
    • setAtbaseType

      public void setAtbaseType(String atbaseType)
    • atschemaLocation

      public PriceAlteration atschemaLocation(String atschemaLocation)
    • getAtschemaLocation

      public String getAtschemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atschemaLocation
    • setAtschemaLocation

      public void setAtschemaLocation(String atschemaLocation)
    • attype

      public PriceAlteration attype(String attype)
    • getAttype

      public String getAttype()
      When sub-classing, this defines the sub-class entity name
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • 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