Class ProductPrice
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.ProductPrice
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProductPriceAlterationItem(PriceAlteration productPriceAlterationItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) billingAccount(BillingAccountRef billingAccount) description(String description) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid BillingAccountRefGet billingAccountA narrative that explains in detail the semantics of this product price.getName()A short descriptive name such as \"Subscription price\".@NotNull @Valid PricegetPrice()Get price@NotNull StringA category that describes the price, such as recurring, discount, allowance, penalty, and so forth.@Valid ProductOfferingPriceRefGet productOfferingPrice@Valid List<PriceAlteration>Get productPriceAlterationCould be month, week...Could be minutes, GB...inthashCode()productOfferingPrice(ProductOfferingPriceRef productOfferingPrice) productPriceAlteration(List<PriceAlteration> productPriceAlteration) recurringChargePeriod(String recurringChargePeriod) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBillingAccount(BillingAccountRef billingAccount) voidsetDescription(String description) voidvoidvoidsetPriceType(String priceType) voidsetProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice) voidsetProductPriceAlteration(List<PriceAlteration> productPriceAlteration) voidsetRecurringChargePeriod(String recurringChargePeriod) voidsetUnitOfMeasure(String unitOfMeasure) toString()unitOfMeasure(String unitOfMeasure)
-
Constructor Details
-
ProductPrice
public ProductPrice()
-
-
Method Details
-
description
-
getDescription
A narrative that explains in detail the semantics of this product price.- Returns:
- description
-
setDescription
-
name
-
getName
A short descriptive name such as \"Subscription price\".- Returns:
- name
-
setName
-
priceType
-
getPriceType
A category that describes the price, such as recurring, discount, allowance, penalty, and so forth.- Returns:
- priceType
-
setPriceType
-
recurringChargePeriod
-
getRecurringChargePeriod
Could be month, week...- Returns:
- recurringChargePeriod
-
setRecurringChargePeriod
-
unitOfMeasure
-
getUnitOfMeasure
Could be minutes, GB...- Returns:
- unitOfMeasure
-
setUnitOfMeasure
-
billingAccount
-
getBillingAccount
Get billingAccount- Returns:
- billingAccount
-
setBillingAccount
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
productOfferingPrice
-
getProductOfferingPrice
Get productOfferingPrice- Returns:
- productOfferingPrice
-
setProductOfferingPrice
-
productPriceAlteration
-
addProductPriceAlterationItem
-
getProductPriceAlteration
Get productPriceAlteration- Returns:
- productPriceAlteration
-
setProductPriceAlteration
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-