Class ProductOffering
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.ProductOffering
- Direct Known Subclasses:
IndexedProductOffering
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:51.201Z")
public class ProductOffering
extends Object
Represents entities that are orderable from the provider of the catalog, this resource includes pricing information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAgreementItem(AgreementRef agreementItem) addAttachmentItem(Attachment attachmentItem) addBundledProductOfferingItem(BundledProductOffering bundledProductOfferingItem) addCategoryItem(CategoryRef categoryItem) addChannelItem(ChannelRef channelItem) addClassificationAttributeValueUseItem(ProdSpecCharValueUse classificationAttributeValueUseItem) addMarketSegmentItem(MarketSegmentRef marketSegmentItem) addOfferingGroupItem(OfferingGroup offeringGroupItem) addParentBundleProductOfferingItem(BundledProductOffering parentBundleProductOfferingItem) addPlaceItem(PlaceRef placeItem) addPriceContextItem(PriceContext priceContextItem) addProdSpecCharValueUseItem(ProdSpecCharValueUse prodSpecCharValueUseItem) addProductOfferingPriceItem(ProductOfferingPrice productOfferingPriceItem) addProductOfferingTermItem(ProductOfferingTerm productOfferingTermItem) addVariantOptionItem(VariantOption variantOptionItem) addVariantProductOfferingItem(ProductOfferingRef variantProductOfferingItem) agreement(List<AgreementRef> agreement) atbaseType(String atbaseType) atschemaLocation(String atschemaLocation) attachment(List<Attachment> attachment) baseProduct(ProductOfferingRef baseProduct) bundledProductOffering(List<BundledProductOffering> bundledProductOffering) category(List<CategoryRef> category) channel(List<ChannelRef> channel) classificationAttributeValueUse(List<ProdSpecCharValueUse> classificationAttributeValueUse) description(String description) boolean@Valid List<AgreementRef>Not SentImmediate base (class) type of the product offeringA link to the schema describing this product offering@Valid List<Attachment>Media items configured for a product offering (images, videos).Class type of the product offeringBase product of a variant.@Valid List<BundledProductOffering>List of children product offering reference (sent only for bundled product offerings).@Valid List<CategoryRef>Get category@Valid List<ChannelRef>Not Sent@Valid List<ProdSpecCharValueUse>The list of classification attributes defined for the ProductOffering.Description of the ProductOffering.getHref()Reference of the ProductOffering.getId()Unique identifier of the ProductOffering.@Valid DateDate and time of the last update.Used to indicate the current product offering approval status (approved/check/unapproved).@Valid List<MarketSegmentRef>Not Sent.getName()Name of the ProductOffering.@Valid List<OfferingGroup>List of containing offering groups (sent only for BundleProductOfferings).@Valid List<BundledProductOffering>A list of BundledProductOffering representing all parents of the offering.getPlace()Not Sent@Valid List<PriceContext>Price context list.@Valid List<ProdSpecCharValueUse>The list of Product Specification Characteristic Values defined for the ProductOffering.@Valid List<ProductOfferingPrice>Get productOfferingPrice@Valid List<ProductOfferingTerm>not sentGet productSpecificationRating of the product offering.Not SentNot SentNot SentThe period for which the productOffering is valid (online date - offline date).@Valid List<VariantOption>Variant options, in case of a variant product offering.@Valid List<ProductOfferingRef>List of variants of the product offering.Not Sent.Product offering version.inthashCode()isBundle determines whether a productOffering represents a simple product Offering (false), or a bundled product offering(true).If false, then a productSpecification will be returned, but the bundledProductOfferings will be absent or empty and vice-versa if isBundle is true.A flag indicating if this product offering can be sold as stand-alone or not.isSellable(Boolean isSellable) lastUpdate(Date lastUpdate) lifecycleStatus(String lifecycleStatus) marketSegment(List<MarketSegmentRef> marketSegment) offeringGroup(List<OfferingGroup> offeringGroup) parentBundleProductOffering(List<BundledProductOffering> parentBundleProductOffering) priceContext(List<PriceContext> priceContext) prodSpecCharValueUse(List<ProdSpecCharValueUse> prodSpecCharValueUse) productOfferingPrice(List<ProductOfferingPrice> productOfferingPrice) productOfferingTerm(List<ProductOfferingTerm> productOfferingTerm) productSpecification(ProductSpecificationRef productSpecification) resourceCandidate(ResourceCandidateRef resourceCandidate) serviceCandidate(ServiceCandidateRef serviceCandidate) serviceLevelAgreement(SLARef serviceLevelAgreement) voidsetAgreement(List<AgreementRef> agreement) voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidsetAttachment(List<Attachment> attachment) voidvoidsetBaseProduct(ProductOfferingRef baseProduct) voidsetBundledProductOffering(List<BundledProductOffering> bundledProductOffering) voidsetCategory(List<CategoryRef> category) voidsetChannel(List<ChannelRef> channel) voidsetClassificationAttributeValueUse(List<ProdSpecCharValueUse> classificationAttributeValueUse) voidsetDescription(String description) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetIsSellable(Boolean isSellable) voidsetLastUpdate(Date lastUpdate) voidsetLifecycleStatus(String lifecycleStatus) voidsetMarketSegment(List<MarketSegmentRef> marketSegment) voidvoidsetOfferingGroup(List<OfferingGroup> offeringGroup) voidsetParentBundleProductOffering(List<BundledProductOffering> parentBundleProductOffering) voidvoidsetPriceContext(List<PriceContext> priceContext) voidsetProdSpecCharValueUse(List<ProdSpecCharValueUse> prodSpecCharValueUse) voidsetProductOfferingPrice(List<ProductOfferingPrice> productOfferingPrice) voidsetProductOfferingTerm(List<ProductOfferingTerm> productOfferingTerm) voidsetProductSpecification(ProductSpecificationRef productSpecification) voidvoidsetResourceCandidate(ResourceCandidateRef resourceCandidate) voidsetServiceCandidate(ServiceCandidateRef serviceCandidate) voidsetServiceLevelAgreement(SLARef serviceLevelAgreement) voidsetValidFor(TimePeriod validFor) voidsetVariantOption(List<VariantOption> variantOption) voidsetVariantProductOffering(List<ProductOfferingRef> variantProductOffering) voidsetVersion(String version) toString()validFor(TimePeriod validFor) variantOption(List<VariantOption> variantOption) variantProductOffering(List<ProductOfferingRef> variantProductOffering)
-
Constructor Details
-
ProductOffering
public ProductOffering()
-
-
Method Details
-
id
-
getId
Unique identifier of the ProductOffering.- Returns:
- id
-
setId
-
href
-
getHref
Reference of the ProductOffering.- Returns:
- href
-
setHref
-
name
-
getName
Name of the ProductOffering.- Returns:
- name
-
setName
-
description
-
getDescription
Description of the ProductOffering.- Returns:
- description
-
setDescription
-
isBundle
-
isIsBundle
isBundle determines whether a productOffering represents a simple product Offering (false), or a bundled product offering(true).If false, then a productSpecification will be returned, but the bundledProductOfferings will be absent or empty and vice-versa if isBundle is true.- Returns:
- isBundle
-
setIsBundle
-
lastUpdate
-
getLastUpdate
Date and time of the last update.- Returns:
- lastUpdate
-
setLastUpdate
-
lifecycleStatus
-
getLifecycleStatus
Used to indicate the current product offering approval status (approved/check/unapproved).- Returns:
- lifecycleStatus
-
setLifecycleStatus
-
validFor
-
getValidFor
The period for which the productOffering is valid (online date - offline date).- Returns:
- validFor
-
setValidFor
-
version
-
getVersion
Not Sent.Product offering version.- Returns:
- version
-
setVersion
-
attype
-
getAttype
Class type of the product offering- Returns:
- attype
-
setAttype
-
atbaseType
-
getAtbaseType
Immediate base (class) type of the product offering- Returns:
- atbaseType
-
setAtbaseType
-
atschemaLocation
-
getAtschemaLocation
A link to the schema describing this product offering- Returns:
- atschemaLocation
-
setAtschemaLocation
-
isSellable
-
isIsSellable
A flag indicating if this product offering can be sold as stand-alone or not. If this flag is false it indicates that the offer can only be sold within a bundled product offering.- Returns:
- isSellable
-
setIsSellable
-
place
-
addPlaceItem
-
getPlace
Not Sent- Returns:
- place
-
setPlace
-
serviceLevelAgreement
-
getServiceLevelAgreement
Not Sent- Returns:
- serviceLevelAgreement
-
setServiceLevelAgreement
-
productSpecification
-
getProductSpecification
Get productSpecification- Returns:
- productSpecification
-
setProductSpecification
-
channel
-
addChannelItem
-
getChannel
Not Sent- Returns:
- channel
-
setChannel
-
serviceCandidate
-
getServiceCandidate
Not Sent- Returns:
- serviceCandidate
-
setServiceCandidate
-
attachment
-
addAttachmentItem
-
getAttachment
Media items configured for a product offering (images, videos).- Returns:
- attachment
-
setAttachment
-
category
-
addCategoryItem
-
getCategory
Get category- Returns:
- category
-
setCategory
-
resourceCandidate
-
getResourceCandidate
Not Sent- Returns:
- resourceCandidate
-
setResourceCandidate
-
productOfferingTerm
-
addProductOfferingTermItem
-
getProductOfferingTerm
not sent- Returns:
- productOfferingTerm
-
setProductOfferingTerm
-
marketSegment
-
addMarketSegmentItem
-
getMarketSegment
Not Sent.- Returns:
- marketSegment
-
setMarketSegment
-
priceContext
-
addPriceContextItem
-
getPriceContext
Price context list.- Returns:
- priceContext
-
setPriceContext
-
productOfferingPrice
-
addProductOfferingPriceItem
-
getProductOfferingPrice
Get productOfferingPrice- Returns:
- productOfferingPrice
-
setProductOfferingPrice
-
agreement
-
addAgreementItem
-
getAgreement
Not Sent- Returns:
- agreement
-
setAgreement
-
bundledProductOffering
-
addBundledProductOfferingItem
public ProductOffering addBundledProductOfferingItem(BundledProductOffering bundledProductOfferingItem) -
getBundledProductOffering
List of children product offering reference (sent only for bundled product offerings).- Returns:
- bundledProductOffering
-
setBundledProductOffering
-
parentBundleProductOffering
public ProductOffering parentBundleProductOffering(List<BundledProductOffering> parentBundleProductOffering) -
addParentBundleProductOfferingItem
public ProductOffering addParentBundleProductOfferingItem(BundledProductOffering parentBundleProductOfferingItem) -
getParentBundleProductOffering
A list of BundledProductOffering representing all parents of the offering.- Returns:
- parentBundleProductOffering
-
setParentBundleProductOffering
public void setParentBundleProductOffering(List<BundledProductOffering> parentBundleProductOffering) -
prodSpecCharValueUse
-
addProdSpecCharValueUseItem
-
getProdSpecCharValueUse
The list of Product Specification Characteristic Values defined for the ProductOffering.- Returns:
- prodSpecCharValueUse
-
setProdSpecCharValueUse
-
classificationAttributeValueUse
public ProductOffering classificationAttributeValueUse(List<ProdSpecCharValueUse> classificationAttributeValueUse) -
addClassificationAttributeValueUseItem
public ProductOffering addClassificationAttributeValueUseItem(ProdSpecCharValueUse classificationAttributeValueUseItem) -
getClassificationAttributeValueUse
The list of classification attributes defined for the ProductOffering.- Returns:
- classificationAttributeValueUse
-
setClassificationAttributeValueUse
public void setClassificationAttributeValueUse(List<ProdSpecCharValueUse> classificationAttributeValueUse) -
offeringGroup
-
addOfferingGroupItem
-
getOfferingGroup
List of containing offering groups (sent only for BundleProductOfferings).- Returns:
- offeringGroup
-
setOfferingGroup
-
baseProduct
-
getBaseProduct
Base product of a variant.- Returns:
- baseProduct
-
setBaseProduct
-
variantProductOffering
-
addVariantProductOfferingItem
-
getVariantProductOffering
List of variants of the product offering.- Returns:
- variantProductOffering
-
setVariantProductOffering
-
variantOption
-
addVariantOptionItem
-
getVariantOption
Variant options, in case of a variant product offering.- Returns:
- variantOption
-
setVariantOption
-
rating
-
getRating
Rating of the product offering.- Returns:
- rating
-
setRating
-
equals
-
hashCode
public int hashCode() -
toString
-