Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.ewv.model.response;

public class BillingProviderInfo {

private String taxId;
private String vendor;
private String address1;
private String address2;
private String city;
private String state;
private String zipCode;
private String country;
private String npi;


public BillingProviderInfo(){

}

public BillingProviderInfo(String taxId, String vendor, String address1, String address2, String city, String state,
String zipCode, String country, String npi) {
super();
this.taxId = taxId;
this.vendor = vendor;
this.address1 = address1;
this.address2 = address2;
this.city = city;
this.state = state;
this.zipCode = zipCode;
this.country = country;
this.npi = npi;
}
public String getTaxId() {
return taxId;
}
public void setTaxId(String taxId) {
this.taxId = taxId;
}
public String getVendor() {
return vendor;
}
public void setVendor(String vendor) {
this.vendor = vendor;
}
public String getAddress1() {
return address1;
}
public void setAddress1(String address1) {
this.address1 = address1;
}
public String getAddress2() {
return address2;
}
public void setAddress2(String address2) {
this.address2 = address2;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getZipCode() {
return zipCode;
}
public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getNpi() {
return npi;
}
public void setNpi(String npi) {
this.npi = npi;
}

@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((address1 == null) ? 0 : address1.hashCode());
result = prime * result + ((address2 == null) ? 0 : address2.hashCode());
result = prime * result + ((city == null) ? 0 : city.hashCode());
result = prime * result + ((country == null) ? 0 : country.hashCode());
result = prime * result + ((npi == null) ? 0 : npi.hashCode());
result = prime * result + ((state == null) ? 0 : state.hashCode());
result = prime * result + ((taxId == null) ? 0 : taxId.hashCode());
result = prime * result + ((vendor == null) ? 0 : vendor.hashCode());
result = prime * result + ((zipCode == null) ? 0 : zipCode.hashCode());
return result;
}

@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
BillingProviderInfo other = (BillingProviderInfo) obj;
if (address1 == null) {
if (other.address1 != null)
return false;
} else if (!address1.equals(other.address1))
return false;
if (address2 == null) {
if (other.address2 != null)
return false;
} else if (!address2.equals(other.address2))
return false;
if (city == null) {
if (other.city != null)
return false;
} else if (!city.equals(other.city))
return false;
if (country == null) {
if (other.country != null)
return false;
} else if (!country.equals(other.country))
return false;
if (npi == null) {
if (other.npi != null)
return false;
} else if (!npi.equals(other.npi))
return false;
if (state == null) {
if (other.state != null)
return false;
} else if (!state.equals(other.state))
return false;
if (taxId == null) {
if (other.taxId != null)
return false;
} else if (!taxId.equals(other.taxId))
return false;
if (vendor == null) {
if (other.vendor != null)
return false;
} else if (!vendor.equals(other.vendor))
return false;
if (zipCode == null) {
if (other.zipCode != null)
return false;
} else if (!zipCode.equals(other.zipCode))
return false;
return true;
}

@Override
public String toString() {
return "ServiceLocationInfo [taxId=" + taxId + ", vendor=" + vendor + ", address1=" + address1 + ", address2="
+ address2 + ", city=" + city + ", state=" + state + ", zipCode=" + zipCode + ", country=" + country
+ ", npi=" + npi + "]";
}

}