Class SmsRequest


  • public class SmsRequest
    extends java.lang.Object
    This is SmsRequest.
    Since:
    6.6.0
    • Constructor Summary

      Constructors 
      Constructor Description
      SmsRequest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Object> getAttributeValue()
      Gets the first attribute value from the principal.
      java.lang.String getRecipient()
      Gets recipients by first using the attribute from the principal.
      boolean hasAttributeValue()
      Has attribute value for the principal?
      boolean isSufficient()
      Whether this request contains sufficient data to proceed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SmsRequest

        public SmsRequest()
    • Method Detail

      • hasAttributeValue

        public boolean hasAttributeValue()
        Has attribute value for the principal?
        Returns:
        the boolean
      • getAttributeValue

        public java.util.Optional<java.lang.Object> getAttributeValue()
        Gets the first attribute value from the principal.
        Returns:
        the attribute value
      • getRecipient

        public java.lang.String getRecipient()
        Gets recipients by first using the attribute from the principal. If none found or empty value, uses the provided address.
        Returns:
        the recipients
      • isSufficient

        public boolean isSufficient()
        Whether this request contains sufficient data to proceed.
        Returns:
        true/false