java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.PriceContext

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2022-10-21T20:34:51.201Z") public class PriceContext extends Object
Represents the context in which the product offering price is available to customer.
  • Constructor Details

    • PriceContext

      public PriceContext()
  • Method Details

    • id

      public PriceContext id(String id)
    • getId

      public String getId()
      Price context's identifier.
      Returns:
      id
    • setId

      public void setId(String id)
    • poRelationship

      public PriceContext poRelationship(List<PoRelationshipRef> poRelationship)
    • addPoRelationshipItem

      public PriceContext addPoRelationshipItem(PoRelationshipRef poRelationshipItem)
    • getPoRelationship

      @Valid public @Valid List<PoRelationshipRef> getPoRelationship()
      Represents the product offering affected, or required by the price. This field is used for bundle product offerings.
      Returns:
      poRelationship
    • setPoRelationship

      public void setPoRelationship(List<PoRelationshipRef> poRelationship)
    • isPriceOverride

      public PriceContext isPriceOverride(Boolean isPriceOverride)
    • isIsPriceOverride

      public Boolean isIsPriceOverride()
      A flag indicating if the price is defined directly for a simple product offering, or for a product offering bought as part of a bundled product offering.
      Returns:
      isPriceOverride
    • setIsPriceOverride

      public void setIsPriceOverride(Boolean isPriceOverride)
    • productOfferingPrice

      public PriceContext productOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • getProductOfferingPrice

      @Valid public @Valid ProductOfferingPriceRef getProductOfferingPrice()
      Product offering price reference.
      Returns:
      productOfferingPrice
    • setProductOfferingPrice

      public void setProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • validFor

      public PriceContext validFor(TimePeriod validFor)
    • getValidFor

      @Valid public TimePeriod getValidFor()
      The period for which the productOfferingPrice is valid.
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • productOfferingTerm

      public PriceContext productOfferingTerm(List<ProductOfferingTerm> productOfferingTerm)
    • addProductOfferingTermItem

      public PriceContext addProductOfferingTermItem(ProductOfferingTerm productOfferingTermItem)
    • getProductOfferingTerm

      @Valid public @Valid List<ProductOfferingTerm> getProductOfferingTerm()
      Get productOfferingTerm
      Returns:
      productOfferingTerm
    • setProductOfferingTerm

      public void setProductOfferingTerm(List<ProductOfferingTerm> productOfferingTerm)
    • processType

      public PriceContext processType(List<ProcessType> processType)
    • addProcessTypeItem

      public PriceContext addProcessTypeItem(ProcessType processTypeItem)
    • getProcessType

      @Valid public @Valid List<ProcessType> getProcessType()
      Represents the purchasing flows for which the price is applicable.
      Returns:
      processType
    • setProcessType

      public void setProcessType(List<ProcessType> processType)
    • channel

      public PriceContext channel(List<ChannelRef> channel)
    • addChannelItem

      public PriceContext addChannelItem(ChannelRef channelItem)
    • getChannel

      @Valid public @Valid List<ChannelRef> getChannel()
      Get channel
      Returns:
      channel
    • setChannel

      public void setChannel(List<ChannelRef> channel)
    • place

      public PriceContext place(List<PlaceRef> place)
    • addPlaceItem

      public PriceContext addPlaceItem(PlaceRef placeItem)
    • getPlace

      @Valid public @Valid List<PlaceRef> getPlace()
      Place references where the products are sold or delivered.
      Returns:
      place
    • setPlace

      public void setPlace(List<PlaceRef> place)
    • priority

      public PriceContext priority(Integer priority)
    • getPriority

      public Integer getPriority()
      The priority.
      Returns:
      priority
    • setPriority

      public void setPriority(Integer priority)
    • relatedParty

      public PriceContext relatedParty(RelatedPartyRef relatedParty)
    • getRelatedParty

      @Valid public RelatedPartyRef getRelatedParty()
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(RelatedPartyRef relatedParty)
    • 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