java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Product

public class Product extends Object
A Product represents the subscription of a ProductOffering by a Party playing a PartyRole, such as a Customer. For example, Jean has subscribed to company ABC’s internet ProductOffering. The association between ProductSpecification and Product allows ProductSpecification, to be instantiated as Product and related to customers or other involved parties.
  • Constructor Details

    • Product

      public Product()
  • Method Details

    • id

      public Product id(String id)
    • getId

      public String getId()
      Unique identifier of the product
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public Product href(String href)
    • getHref

      public String getHref()
      Reference of the product
      Returns:
      href
    • setHref

      public void setHref(String href)
    • description

      public Product description(String description)
    • getDescription

      public String getDescription()
      The description of the product. It could be copied from the description of the Product Offering.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • isBundle

      public Product isBundle(Boolean isBundle)
    • isIsBundle

      public Boolean isIsBundle()
      If true, the product is a ProductBundle which is an instantiation of a BundledProductOffering. If false, the product is a ProductComponent which is an instantiation of a SimpleProductOffering
      Returns:
      isBundle
    • setIsBundle

      public void setIsBundle(Boolean isBundle)
    • isCustomerVisible

      public Product isCustomerVisible(Boolean isCustomerVisible)
    • isIsCustomerVisible

      public Boolean isIsCustomerVisible()
      If true, the product is visible by the customer
      Returns:
      isCustomerVisible
    • setIsCustomerVisible

      public void setIsCustomerVisible(Boolean isCustomerVisible)
    • name

      public Product name(String name)
    • getName

      public String getName()
      The name of the product. It could be the same as the name of the Product Offering
      Returns:
      name
    • setName

      public void setName(String name)
    • productSerialNumber

      public Product productSerialNumber(String productSerialNumber)
    • getProductSerialNumber

      public String getProductSerialNumber()
      Serial number for the product. This is typically applicable to tangible products e.g. Broadband Router.
      Returns:
      productSerialNumber
    • setProductSerialNumber

      public void setProductSerialNumber(String productSerialNumber)
    • startDate

      public Product startDate(Date startDate)
    • getStartDate

      @Valid public @Valid Date getStartDate()
      The date from which the product starts
      Returns:
      startDate
    • setStartDate

      public void setStartDate(Date startDate)
    • status

      public Product status(StatusType status)
    • getStatus

      @Valid public @Valid StatusType getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(StatusType status)
    • terminationDate

      public Product terminationDate(Date terminationDate)
    • getTerminationDate

      @Valid public @Valid Date getTerminationDate()
      The date when the product was terminated. Not applicable to active products
      Returns:
      terminationDate
    • setTerminationDate

      public void setTerminationDate(Date terminationDate)
    • atBaseType

      public Product atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      Indicates the base type of the resource. Here can be 'Product'
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atType

      public Product atType(String atType)
    • getAtType

      public String getAtType()
      Indicated the type of resource.
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atSchemaLocation

      public Product atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

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

      public void setAtSchemaLocation(String atSchemaLocation)
    • place

      public Product place(List<Place> place)
    • addPlaceItem

      public Product addPlaceItem(Place placeItem)
    • getPlace

      @Valid public @Valid List<Place> getPlace()
      Get place
      Returns:
      place
    • setPlace

      public void setPlace(List<Place> place)
    • productOffering

      public Product productOffering(ProductOfferingRef productOffering)
    • getProductOffering

      @Valid public @Valid ProductOfferingRef getProductOffering()
      Get productOffering
      Returns:
      productOffering
    • setProductOffering

      public void setProductOffering(ProductOfferingRef productOffering)
    • productSpecification

      public Product productSpecification(ProductSpecification productSpecification)
    • getProductSpecification

      @Valid public @Valid ProductSpecification getProductSpecification()
      Get productSpecification
      Returns:
      productSpecification
    • setProductSpecification

      public void setProductSpecification(ProductSpecification productSpecification)
    • characteristic

      public Product characteristic(List<ProductCharacteristic> characteristic)
    • addCharacteristicItem

      public Product addCharacteristicItem(ProductCharacteristic characteristicItem)
    • getCharacteristic

      @Valid public @Valid List<ProductCharacteristic> getCharacteristic()
      Get characteristic
      Returns:
      characteristic
    • setCharacteristic

      public void setCharacteristic(List<ProductCharacteristic> characteristic)
    • productRelationship

      public Product productRelationship(List<ProductRelationship> productRelationship)
    • addProductRelationshipItem

      public Product addProductRelationshipItem(ProductRelationship productRelationshipItem)
    • getProductRelationship

      @Valid public @Valid List<ProductRelationship> getProductRelationship()
      Get productRelationship
      Returns:
      productRelationship
    • setProductRelationship

      public void setProductRelationship(List<ProductRelationship> productRelationship)
    • billingAccount

      public Product billingAccount(List<BillingAccountRef> billingAccount)
    • addBillingAccountItem

      public Product addBillingAccountItem(BillingAccountRef billingAccountItem)
    • getBillingAccount

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

      public void setBillingAccount(List<BillingAccountRef> billingAccount)
    • relatedParty

      public Product relatedParty(List<RelatedParty> relatedParty)
    • addRelatedPartyItem

      public Product addRelatedPartyItem(RelatedParty relatedPartyItem)
    • getRelatedParty

      @Valid public @Valid List<RelatedParty> getRelatedParty()
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(List<RelatedParty> relatedParty)
    • realizingResource

      public Product realizingResource(List<RealizingResource> realizingResource)
    • addRealizingResourceItem

      public Product addRealizingResourceItem(RealizingResource realizingResourceItem)
    • getRealizingResource

      @Valid public @Valid List<RealizingResource> getRealizingResource()
      Get realizingResource
      Returns:
      realizingResource
    • setRealizingResource

      public void setRealizingResource(List<RealizingResource> realizingResource)
    • realizingService

      public Product realizingService(List<RealizingService> realizingService)
    • addRealizingServiceItem

      public Product addRealizingServiceItem(RealizingService realizingServiceItem)
    • getRealizingService

      @Valid public @Valid List<RealizingService> getRealizingService()
      Get realizingService
      Returns:
      realizingService
    • setRealizingService

      public void setRealizingService(List<RealizingService> realizingService)
    • productPrice

      public Product productPrice(List<ProductPrice> productPrice)
    • addProductPriceItem

      public Product addProductPriceItem(ProductPrice productPriceItem)
    • getProductPrice

      @Valid public @Valid List<ProductPrice> getProductPrice()
      Get productPrice
      Returns:
      productPrice
    • setProductPrice

      public void setProductPrice(List<ProductPrice> productPrice)
    • productOrder

      public Product productOrder(List<ProductOrderRef> productOrder)
    • addProductOrderItem

      public Product addProductOrderItem(ProductOrderRef productOrderItem)
    • getProductOrder

      @Valid public @Valid List<ProductOrderRef> getProductOrder()
      Get productOrder
      Returns:
      productOrder
    • setProductOrder

      public void setProductOrder(List<ProductOrderRef> productOrder)
    • productTerm

      public Product productTerm(List<ProductTerm> productTerm)
    • addProductTermItem

      public Product addProductTermItem(ProductTerm productTermItem)
    • getProductTerm

      @Valid public @Valid List<ProductTerm> getProductTerm()
      Get productTerm
      Returns:
      productTerm
    • setProductTerm

      public void setProductTerm(List<ProductTerm> productTerm)
    • 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