Class PayloadNotIncludedImpl

java.lang.Object
com.commercetools.api.models.subscription.PayloadNotIncludedImpl
All Implemented Interfaces:
PayloadNotIncluded, io.vrap.rmf.base.client.ModelBase

public class PayloadNotIncludedImpl extends Object implements PayloadNotIncluded, io.vrap.rmf.base.client.ModelBase
PayloadNotIncluded
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Value of the type field in the original payload.
    Reason the payload is not included.
    int
     
    void
    setPayloadType(String payloadType)
    Value of the type field in the original payload.
    void
    setReason(String reason)
    Reason the payload is not included.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.api.models.subscription.PayloadNotIncluded

    withPayloadNotIncluded
  • Constructor Details

    • PayloadNotIncludedImpl

      public PayloadNotIncludedImpl()
      create empty instance
  • Method Details

    • getReason

      public String getReason()

      Reason the payload is not included. For example, the payload is too large, or its content is not supported by the Subscription destination.

      Specified by:
      getReason in interface PayloadNotIncluded
      Returns:
      reason
    • getPayloadType

      public String getPayloadType()

      Value of the type field in the original payload.

      Specified by:
      getPayloadType in interface PayloadNotIncluded
      Returns:
      payloadType
    • setReason

      public void setReason(String reason)
      Description copied from interface: PayloadNotIncluded

      Reason the payload is not included. For example, the payload is too large, or its content is not supported by the Subscription destination.

      Specified by:
      setReason in interface PayloadNotIncluded
      Parameters:
      reason - value to be set
    • setPayloadType

      public void setPayloadType(String payloadType)
      Description copied from interface: PayloadNotIncluded

      Value of the type field in the original payload.

      Specified by:
      setPayloadType in interface PayloadNotIncluded
      Parameters:
      payloadType - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object