
com.silanis.esl.api.model.SignerInformationForEquifaxCanada Maven / Gradle / Ivy
package com.silanis.esl.api.model;
//
import com.fasterxml.jackson.annotation.*;
import com.silanis.esl.api.util.JsonDateDeserializer;
import com.silanis.esl.api.util.JsonDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.silanis.esl.api.util.SchemaSanitizer;
@JsonIgnoreProperties(ignoreUnknown=true)
public class SignerInformationForEquifaxCanada extends Model
implements java.io.Serializable
{
// Dirty Flag Constants
@JsonIgnore
public static final String FIELD_CITY = "city";
@JsonIgnore
public static final String FIELD_DATEOFBIRTH = "dateOfBirth";
@JsonIgnore
public static final String FIELD_DRIVERSLICENSENUMBER = "driversLicenseNumber";
@JsonIgnore
public static final String FIELD_FIRSTNAME = "firstName";
@JsonIgnore
public static final String FIELD_HOMEPHONENUMBER = "homePhoneNumber";
@JsonIgnore
public static final String FIELD_LASTNAME = "lastName";
@JsonIgnore
public static final String FIELD_SOCIALINSURANCENUMBER = "socialInsuranceNumber";
@JsonIgnore
public static final String FIELD_PROVINCE = "province";
@JsonIgnore
public static final String FIELD_STREETADDRESS = "streetAddress";
@JsonIgnore
public static final String FIELD_TIMEATADDRESS = "timeAtAddress";
@JsonIgnore
public static final String FIELD_POSTALCODE = "postalCode";
// Empty Constructor
public SignerInformationForEquifaxCanada ( ) {}
// Fields
protected String _city = "";
protected java.util.Date _dateOfBirth;
protected String _driversLicenseNumber = "";
protected String _firstName = "";
protected String _homePhoneNumber = "";
protected String _lastName = "";
protected String _socialInsuranceNumber = "";
protected String _province = "";
protected String _streetAddress = "";
protected Integer _timeAtAddress = null;
protected String _postalCode = "";
// Accessors
public SignerInformationForEquifaxCanada setCity( String value ){
SchemaSanitizer.throwOnNull(FIELD_CITY,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._city == value ) return this;
this._city = value;
setDirty(FIELD_CITY);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetCity( String value ){
if ( value != null ) { this.setCity( value ); }
return this;
}
public String getCity(){
return _city;
}
@JsonDeserialize(using = JsonDateDeserializer.class)
public SignerInformationForEquifaxCanada setDateOfBirth( java.util.Date value ){
// TODO With proper compare
// if ( this._dateOfBirth == value ) return this;
this._dateOfBirth = value;
setDirty(FIELD_DATEOFBIRTH);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetDateOfBirth( java.util.Date value ){
if ( value != null ) { this.setDateOfBirth( value ); }
return this;
}
@JsonSerialize(using = JsonDateSerializer.class)
public java.util.Date getDateOfBirth(){
return _dateOfBirth;
}
public SignerInformationForEquifaxCanada setDriversLicenseNumber( String value ){
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._driversLicenseNumber == value ) return this;
this._driversLicenseNumber = value;
setDirty(FIELD_DRIVERSLICENSENUMBER);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetDriversLicenseNumber( String value ){
if ( value != null ) { this.setDriversLicenseNumber(value); }
return this;
}
public String getDriversLicenseNumber(){
return _driversLicenseNumber;
}
public SignerInformationForEquifaxCanada setFirstName( String value ){
SchemaSanitizer.throwOnNull(FIELD_FIRSTNAME,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._firstName == value ) return this;
this._firstName = value;
setDirty(FIELD_FIRSTNAME);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetFirstName( String value ){
if ( value != null ) { this.setFirstName( value ); }
return this;
}
public String getFirstName(){
return _firstName;
}
public SignerInformationForEquifaxCanada setHomePhoneNumber( String value ){
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._homePhoneNumber == value ) return this;
this._homePhoneNumber = value;
setDirty(FIELD_HOMEPHONENUMBER);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetHomePhoneNumber( String value ){
if ( value != null ) { this.setHomePhoneNumber( value ); }
return this;
}
public String getHomePhoneNumber(){
return _homePhoneNumber;
}
public SignerInformationForEquifaxCanada setLastName( String value ){
SchemaSanitizer.throwOnNull(FIELD_LASTNAME,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._lastName == value ) return this;
this._lastName = value;
setDirty(FIELD_LASTNAME);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetLastName( String value ){
if ( value != null ) { this.setLastName( value ); }
return this;
}
public String getLastName(){
return _lastName;
}
public SignerInformationForEquifaxCanada setSocialInsuranceNumber( String value ){
SchemaSanitizer.throwOnNull(FIELD_SOCIALINSURANCENUMBER,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._socialInsuranceNumber == value ) return this;
this._socialInsuranceNumber = value;
setDirty(FIELD_SOCIALINSURANCENUMBER);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetSocialInsuranceNumber( String value ){
if ( value != null ) { this.setSocialInsuranceNumber( value ); }
return this;
}
public String getSocialInsuranceNumber(){
return _socialInsuranceNumber;
}
public SignerInformationForEquifaxCanada setProvince( String value ){
SchemaSanitizer.throwOnNull(FIELD_PROVINCE,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._province == value ) return this;
this._province = value;
setDirty(FIELD_PROVINCE);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetProvince( String value ){
if ( value != null ) { this.setProvince( value ); }
return this;
}
public String getProvince(){
return _province;
}
public SignerInformationForEquifaxCanada setStreetAddress( String value ){
SchemaSanitizer.throwOnNull(FIELD_STREETADDRESS,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._streetAddress == value ) return this;
this._streetAddress = value;
setDirty(FIELD_STREETADDRESS);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetStreetAddress( String value ){
if ( value != null ) { this.setStreetAddress( value ); }
return this;
}
public String getStreetAddress(){
return _streetAddress;
}
public SignerInformationForEquifaxCanada setTimeAtAddress( Integer value ){
// TODO With proper compare
// if ( this._timeAtAddress == value ) return this;
this._timeAtAddress = value;
setDirty(FIELD_TIMEATADDRESS);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetTimeAtAddress( Integer value ){
if ( value != null ) { this.setTimeAtAddress( value ); }
return this;
}
public Integer getTimeAtAddress(){
return _timeAtAddress;
}
public SignerInformationForEquifaxCanada setPostalCode( String value ){
SchemaSanitizer.throwOnNull(FIELD_POSTALCODE,value);
value = SchemaSanitizer.trim(value);
// TODO With proper compare
// if ( this._postalCode == value ) return this;
this._postalCode = value;
setDirty(FIELD_POSTALCODE);
return this;
}
// Used internally by aws. Invokes a the corresponding setter if the value is not null
@JsonIgnore
public SignerInformationForEquifaxCanada safeSetPostalCode( String value ){
if ( value != null ) { this.setPostalCode( value ); }
return this;
}
public String getPostalCode(){
return _postalCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy