java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.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

    • id

      public ProductPrice id(String id)
    • getId

      public String getId()
      Unique identifier of a productOfferingPrice
      Returns:
      id
    • setId

      public void setId(String id)
    • 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)
    • 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)
    • priceType

      public ProductPrice priceType(String priceType)
    • getPriceType

      public 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)
    • atType

      public ProductPrice atType(String atType)
    • getAtType

      public String getAtType()
      Indicates the type of ProductPrice class
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atSchemaLocation

      public ProductPrice atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A link to the schema describing this REST resource
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • price

      public ProductPrice price(Price price)
    • getPrice

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

      public void setPrice(Price price)
    • prodPriceAlteration

      public ProductPrice prodPriceAlteration(PriceAlteration prodPriceAlteration)
    • getProdPriceAlteration

      @Valid public @Valid PriceAlteration getProdPriceAlteration()
      Get prodPriceAlteration
      Returns:
      prodPriceAlteration
    • setProdPriceAlteration

      public void setProdPriceAlteration(PriceAlteration prodPriceAlteration)
    • billingAccount

      public ProductPrice billingAccount(BillingAccountRef billingAccount)
    • getBillingAccount

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

      public void setBillingAccount(BillingAccountRef billingAccount)
    • 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