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

public class ProductPrice extends Object
An amount, usually of money, that represents the actual price paid by a Customer for a purchase, a rent or a lease of a Product. The price is valid for a defined period of time.
  • Constructor Details

    • ProductPrice

      public ProductPrice()
  • Method Details

    • description

      public ProductPrice description(String description)
    • getDescription

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

      public void setDescription(String description)
    • name

      public ProductPrice name(String name)
    • getName

      public String getName()
      A short descriptive name such as \"Subscription price\".
      Returns:
      name
    • setName

      public void setName(String name)
    • priceType

      public ProductPrice priceType(String priceType)
    • getPriceType

      @NotNull public @NotNull String getPriceType()
      A category that describes the price, such as recurring, discount, allowance, penalty, and so forth.
      Returns:
      priceType
    • setPriceType

      public void setPriceType(String priceType)
    • recurringChargePeriod

      public ProductPrice recurringChargePeriod(String recurringChargePeriod)
    • getRecurringChargePeriod

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

      public void setRecurringChargePeriod(String recurringChargePeriod)
    • unitOfMeasure

      public ProductPrice unitOfMeasure(String unitOfMeasure)
    • getUnitOfMeasure

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

      public void setUnitOfMeasure(String unitOfMeasure)
    • billingAccount

      public ProductPrice billingAccount(BillingAccountRef billingAccount)
    • getBillingAccount

      @Valid public @Valid BillingAccountRef getBillingAccount()
      Get billingAccount
      Returns:
      billingAccount
    • setBillingAccount

      public void setBillingAccount(BillingAccountRef billingAccount)
    • price

      public ProductPrice price(Price price)
    • getPrice

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

      public void setPrice(Price price)
    • productOfferingPrice

      public ProductPrice productOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • getProductOfferingPrice

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

      public void setProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • productPriceAlteration

      public ProductPrice productPriceAlteration(List<PriceAlteration> productPriceAlteration)
    • addProductPriceAlterationItem

      public ProductPrice addProductPriceAlterationItem(PriceAlteration productPriceAlterationItem)
    • getProductPriceAlteration

      @Valid public @Valid List<PriceAlteration> getProductPriceAlteration()
      Get productPriceAlteration
      Returns:
      productPriceAlteration
    • setProductPriceAlteration

      public void setProductPriceAlteration(List<PriceAlteration> productPriceAlteration)
    • atBaseType

      public ProductPrice 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 ProductPrice 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 ProductPrice 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