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

public class PromotionRef extends Object
Reference to promotion.
  • Constructor Details

    • PromotionRef

      public PromotionRef()
  • Method Details

    • atType

      public PromotionRef atType(String atType)
    • getAtType

      public String getAtType()
      Generic attribute containing the name of the resource class type
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atReferredType

      public PromotionRef atReferredType(String atReferredType)
    • getAtReferredType

      public String getAtReferredType()
      Class type of the referred promotion.
      Returns:
      atReferredType
    • setAtReferredType

      public void setAtReferredType(String atReferredType)
    • href

      public PromotionRef href(String href)
    • getHref

      public String getHref()
      Url used to reference the promotion.
      Returns:
      href
    • setHref

      public void setHref(String href)
    • id

      public PromotionRef id(String id)
    • getId

      public String getId()
      Unique identifier for promotion.
      Returns:
      id
    • setId

      public void setId(String id)
    • status

      public PromotionRef status(Status status)
    • getStatus

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

      public void setStatus(Status status)
    • message

      public PromotionRef message(String message)
    • getMessage

      public String getMessage()
      Promotion description
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • 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