Interface Reason
public interface Reason
Reason
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Reason.Builderbuilder()Getting builderError code forwarded directly from the channel.getCode()Get codeA textual description of the reason.Get subCode
-
Method Details
-
getCode
ReasonCode getCode()Get code- Returns:
- code
-
getDescription
String getDescription()A textual description of the reason.- Returns:
- description
-
getSubCode
ReasonSubCode getSubCode()Get subCode- Returns:
- subCode
-
getChannelCode
String getChannelCode()Error code forwarded directly from the channel. Useful in case of unmapped or channel specific errors. Currently only supported on the WhatsApp channel.- Returns:
- channelCode
-
builder
Getting builder- Returns:
- New Builder instance
-