Package com.mindee.product.us.usmail
Class UsMailV3Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.us.usmail.UsMailV3Document
-
public class UsMailV3Document extends Prediction
US Mail API version 3.0 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanFieldisReturnToSenderWhether the mailing is marked as return to sender.protected List<UsMailV3RecipientAddress>recipientAddressesThe addresses of the recipients.protected List<StringField>recipientNamesThe names of the recipients.protected UsMailV3SenderAddresssenderAddressThe address of the sender.protected StringFieldsenderNameThe name of the sender.
-
Constructor Summary
Constructors Constructor Description UsMailV3Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleanFieldgetIsReturnToSender()Whether the mailing is marked as return to sender.List<UsMailV3RecipientAddress>getRecipientAddresses()The addresses of the recipients.List<StringField>getRecipientNames()The names of the recipients.UsMailV3SenderAddressgetSenderAddress()The address of the sender.StringFieldgetSenderName()The name of the sender.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
Field Detail
-
isReturnToSender
protected BooleanField isReturnToSender
Whether the mailing is marked as return to sender.
-
recipientAddresses
protected List<UsMailV3RecipientAddress> recipientAddresses
The addresses of the recipients.
-
recipientNames
protected List<StringField> recipientNames
The names of the recipients.
-
senderAddress
protected UsMailV3SenderAddress senderAddress
The address of the sender.
-
senderName
protected StringField senderName
The name of the sender.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:PredictionReturnstrueif there are no predictions values. Accessing prediction values when this istruemay result in aNullPointerException- Specified by:
isEmptyin classPrediction
-
getIsReturnToSender
public BooleanField getIsReturnToSender()
Whether the mailing is marked as return to sender.
-
getRecipientAddresses
public List<UsMailV3RecipientAddress> getRecipientAddresses()
The addresses of the recipients.
-
getRecipientNames
public List<StringField> getRecipientNames()
The names of the recipients.
-
getSenderAddress
public UsMailV3SenderAddress getSenderAddress()
The address of the sender.
-
getSenderName
public StringField getSenderName()
The name of the sender.
-
canEqual
protected boolean canEqual(Object other)
-
-