Class ProofOfAddressV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.proofofaddress.ProofOfAddressV1Document
-
public class ProofOfAddressV1Document extends Prediction
Proof of Address API version 1.1 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected DateField
date
The date the document was issued.protected List<DateField>
dates
List of dates found on the document.protected StringField
issuerAddress
The address of the document's issuer.protected List<CompanyRegistrationField>
issuerCompanyRegistration
List of company registrations found for the issuer.protected StringField
issuerName
The name of the person or company issuing the document.protected LocaleField
locale
The locale detected on the document.protected StringField
recipientAddress
The address of the recipient.protected List<CompanyRegistrationField>
recipientCompanyRegistration
List of company registrations found for the recipient.protected StringField
recipientName
The name of the person or company receiving the document.
-
Constructor Summary
Constructors Constructor Description ProofOfAddressV1Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
DateField
getDate()
The date the document was issued.List<DateField>
getDates()
List of dates found on the document.StringField
getIssuerAddress()
The address of the document's issuer.List<CompanyRegistrationField>
getIssuerCompanyRegistration()
List of company registrations found for the issuer.StringField
getIssuerName()
The name of the person or company issuing the document.LocaleField
getLocale()
The locale detected on the document.StringField
getRecipientAddress()
The address of the recipient.List<CompanyRegistrationField>
getRecipientCompanyRegistration()
List of company registrations found for the recipient.StringField
getRecipientName()
The name of the person or company receiving the document.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
date
protected DateField date
The date the document was issued.
-
issuerAddress
protected StringField issuerAddress
The address of the document's issuer.
-
issuerCompanyRegistration
protected List<CompanyRegistrationField> issuerCompanyRegistration
List of company registrations found for the issuer.
-
issuerName
protected StringField issuerName
The name of the person or company issuing the document.
-
locale
protected LocaleField locale
The locale detected on the document.
-
recipientAddress
protected StringField recipientAddress
The address of the recipient.
-
recipientCompanyRegistration
protected List<CompanyRegistrationField> recipientCompanyRegistration
List of company registrations found for the recipient.
-
recipientName
protected StringField recipientName
The name of the person or company receiving the document.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Specified by:
isEmpty
in classPrediction
-
getDate
public DateField getDate()
The date the document was issued.
-
getIssuerAddress
public StringField getIssuerAddress()
The address of the document's issuer.
-
getIssuerCompanyRegistration
public List<CompanyRegistrationField> getIssuerCompanyRegistration()
List of company registrations found for the issuer.
-
getIssuerName
public StringField getIssuerName()
The name of the person or company issuing the document.
-
getLocale
public LocaleField getLocale()
The locale detected on the document.
-
getRecipientAddress
public StringField getRecipientAddress()
The address of the recipient.
-
getRecipientCompanyRegistration
public List<CompanyRegistrationField> getRecipientCompanyRegistration()
List of company registrations found for the recipient.
-
getRecipientName
public StringField getRecipientName()
The name of the person or company receiving the document.
-
canEqual
protected boolean canEqual(Object other)
-
-