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

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2022-10-21T20:34:47.671Z") 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()
      The status of the promotion.
      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