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