Class UsMailV3Document


  • public class UsMailV3Document
    extends Prediction
    US Mail API version 3.0 document data.
    • Field Detail

      • isReturnToSender

        protected BooleanField isReturnToSender
        Whether the mailing is marked as return to sender.
      • recipientNames

        protected List<StringField> recipientNames
        The names of the recipients.
      • senderName

        protected StringField senderName
        The name of the sender.
    • Constructor Detail

      • UsMailV3Document

        public UsMailV3Document()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Description copied from class: Prediction
        Returns true if there are no predictions values. Accessing prediction values when this is true may result in a NullPointerException
        Specified by:
        isEmpty in class Prediction
      • getIsReturnToSender

        public BooleanField getIsReturnToSender()
        Whether the mailing is marked as return to sender.
      • getRecipientNames

        public List<StringField> getRecipientNames()
        The names of the recipients.
      • getSenderName

        public StringField getSenderName()
        The name of the sender.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object