public interface Reason
Reason
  • 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

      static Reason.Builder builder()
      Getting builder
      Returns:
      New Builder instance