* Number indicating the result of address validation. 0
means the address was perfect as-is and
* successfully validated. 1
means the address was corrected. 2
means the address sent was
* not close enough and was not validated.
*
* The ID that represents the address. *
*/ private String addressExternalId; /** ** The validated address. *
*/ private Address address; /** ** The list of address suggestions.. *
*/ private java.util.List
* Number indicating the result of address validation. 0
means the address was perfect as-is and
* successfully validated. 1
means the address was corrected. 2
means the address sent was
* not close enough and was not validated.
*
0
means the address was perfect as-is and
* successfully validated. 1
means the address was corrected. 2
means the address
* sent was not close enough and was not validated.
*/
public void setValidationResult(Integer validationResult) {
this.validationResult = validationResult;
}
/**
*
* Number indicating the result of address validation. 0
means the address was perfect as-is and
* successfully validated. 1
means the address was corrected. 2
means the address sent was
* not close enough and was not validated.
*
0
means the address was perfect as-is
* and successfully validated. 1
means the address was corrected. 2
means the
* address sent was not close enough and was not validated.
*/
public Integer getValidationResult() {
return this.validationResult;
}
/**
*
* Number indicating the result of address validation. 0
means the address was perfect as-is and
* successfully validated. 1
means the address was corrected. 2
means the address sent was
* not close enough and was not validated.
*
0
means the address was perfect as-is and
* successfully validated. 1
means the address was corrected. 2
means the address
* sent was not close enough and was not validated.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ValidateE911AddressResult withValidationResult(Integer validationResult) {
setValidationResult(validationResult);
return this;
}
/**
* * The ID that represents the address. *
* * @param addressExternalId * The ID that represents the address. */ public void setAddressExternalId(String addressExternalId) { this.addressExternalId = addressExternalId; } /** ** The ID that represents the address. *
* * @return The ID that represents the address. */ public String getAddressExternalId() { return this.addressExternalId; } /** ** The ID that represents the address. *
* * @param addressExternalId * The ID that represents the address. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidateE911AddressResult withAddressExternalId(String addressExternalId) { setAddressExternalId(addressExternalId); return this; } /** ** The validated address. *
* * @param address * The validated address. */ public void setAddress(Address address) { this.address = address; } /** ** The validated address. *
* * @return The validated address. */ public Address getAddress() { return this.address; } /** ** The validated address. *
* * @param address * The validated address. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidateE911AddressResult withAddress(Address address) { setAddress(address); return this; } /** ** The list of address suggestions.. *
* * @return The list of address suggestions.. */ public java.util.List* The list of address suggestions.. *
* * @param candidateAddressList * The list of address suggestions.. */ public void setCandidateAddressList(java.util.Collection* The list of address suggestions.. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCandidateAddressList(java.util.Collection)} or {@link #withCandidateAddressList(java.util.Collection)} * if you want to override the existing values. *
* * @param candidateAddressList * The list of address suggestions.. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidateE911AddressResult withCandidateAddressList(CandidateAddress... candidateAddressList) { if (this.candidateAddressList == null) { setCandidateAddressList(new java.util.ArrayList* The list of address suggestions.. *
* * @param candidateAddressList * The list of address suggestions.. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidateE911AddressResult withCandidateAddressList(java.util.Collection