Class PromotionRef
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PromotionRef
-
@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2020-06-25T12:53:59.275Z") public class PromotionRef extends java.lang.ObjectReference to promotion.
-
-
Constructor Summary
Constructors Constructor Description PromotionRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PromotionRefatreferredType(java.lang.String atreferredType)PromotionRefattype(java.lang.String attype)booleanequals(java.lang.Object o)java.lang.StringgetAtreferredType()Class type of the referred promotion.java.lang.StringgetAttype()Generic attribute containing the name of the resource class typejava.lang.StringgetHref()Url used to reference the promotion.java.lang.StringgetId()Unique identifier for promotion.java.lang.StringgetMessage()Promotion description@Valid StatusgetStatus()The status of the promotion.inthashCode()PromotionRefhref(java.lang.String href)PromotionRefid(java.lang.String id)PromotionRefmessage(java.lang.String message)voidsetAtreferredType(java.lang.String atreferredType)voidsetAttype(java.lang.String attype)voidsetHref(java.lang.String href)voidsetId(java.lang.String id)voidsetMessage(java.lang.String message)voidsetStatus(Status status)PromotionRefstatus(Status status)java.lang.StringtoString()
-
-
-
Method Detail
-
attype
public PromotionRef attype(java.lang.String attype)
-
getAttype
public java.lang.String getAttype()
Generic attribute containing the name of the resource class type- Returns:
- attype
-
setAttype
public void setAttype(java.lang.String attype)
-
atreferredType
public PromotionRef atreferredType(java.lang.String atreferredType)
-
getAtreferredType
public java.lang.String getAtreferredType()
Class type of the referred promotion.- Returns:
- atreferredType
-
setAtreferredType
public void setAtreferredType(java.lang.String atreferredType)
-
href
public PromotionRef href(java.lang.String href)
-
getHref
public java.lang.String getHref()
Url used to reference the promotion.- Returns:
- href
-
setHref
public void setHref(java.lang.String href)
-
id
public PromotionRef id(java.lang.String id)
-
getId
public java.lang.String getId()
Unique identifier for promotion.- Returns:
- id
-
setId
public void setId(java.lang.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(java.lang.String message)
-
getMessage
public java.lang.String getMessage()
Promotion description- Returns:
- message
-
setMessage
public void setMessage(java.lang.String message)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-