Class AlternateProductOfferingProposal

java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AlternateProductOfferingProposal

public class AlternateProductOfferingProposal extends Object
Alternate product Offering proposal is used when the requested product offering is not available with characteristic and date asked for. An alternate proposal could be a distinct product offering or product Spec close to requested one or same as requested but with a different activation date.
  • Constructor Details

    • AlternateProductOfferingProposal

      public AlternateProductOfferingProposal()
  • Method Details

    • id

    • getId

      public String getId()
      Identifier of a alternate product offering proposal
      Returns:
      id
    • setId

      public void setId(String id)
    • alternateActivationDate

      public AlternateProductOfferingProposal alternateActivationDate(Date alternateActivationDate)
    • getAlternateActivationDate

      @Valid public @Valid Date getAlternateActivationDate()
      Alternate activation date in case seller is not able to meet requested expected activation date.
      Returns:
      alternateActivationDate
    • setAlternateActivationDate

      public void setAlternateActivationDate(Date alternateActivationDate)
    • alternateProduct

      public AlternateProductOfferingProposal alternateProduct(ProductRefOrValue alternateProduct)
    • getAlternateProduct

      @Valid public @Valid ProductRefOrValue getAlternateProduct()
      Get alternateProduct
      Returns:
      alternateProduct
    • setAlternateProduct

      public void setAlternateProduct(ProductRefOrValue alternateProduct)
    • alternateProductOffering

      public AlternateProductOfferingProposal alternateProductOffering(ProductOfferingRef alternateProductOffering)
    • getAlternateProductOffering

      @Valid public @Valid ProductOfferingRef getAlternateProductOffering()
      Get alternateProductOffering
      Returns:
      alternateProductOffering
    • setAlternateProductOffering

      public void setAlternateProductOffering(ProductOfferingRef alternateProductOffering)
    • atBaseType

      public AlternateProductOfferingProposal atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public AlternateProductOfferingProposal atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public AlternateProductOfferingProposal atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • 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