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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
Value of thetype
field in the original payload.Reason the payload is not included.int
hashCode()
void
setPayloadType
(String payloadType) Value of thetype
field in the original payload.void
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
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 interfacePayloadNotIncluded
- Returns:
- reason
-
getPayloadType
Value of the
type
field in the original payload.- Specified by:
getPayloadType
in interfacePayloadNotIncluded
- Returns:
- payloadType
-
setReason
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 interfacePayloadNotIncluded
- Parameters:
reason
- value to be set
-
setPayloadType
Description copied from interface:PayloadNotIncluded
Value of the
type
field in the original payload.- Specified by:
setPayloadType
in interfacePayloadNotIncluded
- Parameters:
payloadType
- value to be set
-
equals
-
hashCode
public int hashCode()
-