public class NppesRequestBuilder
This class is used as an adapter for class NppesRequest and make it easier to build request in Java env.
class NppesRequest| Constructor and Description |
|---|
NppesRequestBuilder()
This class is used as an adapter for
class NppesRequest and make it easier to build request in Java env. |
| Modifier and Type | Method and Description |
|---|---|
NppesRequest |
build()
Builds the
class NppesRequest based on givven data. |
AddressPurpose |
getAddressPurpose()
Refers to whether the address information entered pertains to the provider's Mailing Address or the
provider's Practice Location Address. When not specified, the results will contain the providers where
either the Mailing Address or the Practice Location Addresses match the entered address information
|
java.lang.String |
getCity()
The City associated with the provider's address identified in Address Purpose.
|
java.lang.String |
getCountryCode()
The Country associated with the provider's address identified in Address Purpose. This field can be used as
the only input criterion as long as the value selected is not US (United States).
|
EnumerationType |
getEnumerationType()
The Read API can be refined to retrieve only Individual Providers or Organizational Providers. When using
the Enumeration Type, it cannot be the only criteria entered. Additional criteria must also be entered
as well.
|
int |
getLimit()
Limit the results returned. The default value is 10. The value can be set to any value from 1 to 200.
|
java.lang.String |
getNumber()
The unique, 10-digit National Provider Identifier (NPI) assigned to the provider.
|
java.lang.String |
getOrganizationName()
This field only applies to Organizational Providers. Trailing wildcard entries are permitted requiring at
least two characters to be entered.
|
java.lang.String |
getPostalCode()
The Postal Code associated with the provider's address identified in Address Purpose. There is an implied
trailing wildcard. If you enter a 5 digit postal code, it will match any appropriate 9 digit (zip+4) codes
in the data.
|
int |
getSkip()
The first N (value entered) results meeting the entered criteria will be bypassed and will not be included
in the output.
|
java.lang.String |
getState()
The State abbreviation associated with the provider's address identified in Address Purpose.
|
java.lang.String |
getTaxonomyDescription()
Search for providers by their taxonomy by entering the taxonomy description.
|
void |
setAddressPurpose(AddressPurpose p)
Refers to whether the address information entered pertains to the provider's Mailing Address or the
provider's Practice Location Address. When not specified, the results will contain the providers where
either the Mailing Address or the Practice Location Addresses match the entered address information
|
void |
setCity(java.lang.String p)
The City associated with the provider's address identified in Address Purpose.
|
void |
setCountryCode(java.lang.String p)
The Country associated with the provider's address identified in Address Purpose. This field can be used as
the only input criterion as long as the value selected is not US (United States).
|
void |
setEnumerationType(EnumerationType p)
The Read API can be refined to retrieve only Individual Providers or Organizational Providers. When using
the Enumeration Type, it cannot be the only criteria entered. Additional criteria must also be entered
as well.
|
void |
setLimit(int p)
Limit the results returned. The default value is 10. The value can be set to any value from 1 to 200.
|
void |
setNumber(java.lang.String p)
The unique, 10-digit National Provider Identifier (NPI) assigned to the provider.
|
void |
setOrganizationName(java.lang.String p)
This field only applies to Organizational Providers. Trailing wildcard entries are permitted requiring at
least two characters to be entered.
|
void |
setPostalCode(java.lang.String p)
The Postal Code associated with the provider's address identified in Address Purpose. There is an implied
trailing wildcard. If you enter a 5 digit postal code, it will match any appropriate 9 digit (zip+4) codes
in the data.
|
void |
setSkip(int p)
The first N (value entered) results meeting the entered criteria will be bypassed and will not be included
in the output.
|
void |
setState(java.lang.String p)
The State abbreviation associated with the provider's address identified in Address Purpose.
|
void |
setTaxonomyDescription(java.lang.String p)
Search for providers by their taxonomy by entering the taxonomy description.
|
NppesRequestBuilder |
withAddressPurpose(AddressPurpose purpose)
Sets the addressPurpose value.
|
NppesRequestBuilder |
withCity(java.lang.String city)
Sets the city value.
|
NppesRequestBuilder |
withCountrylCode(java.lang.String countryCode)
Sets the countryCode value.
|
NppesRequestBuilder |
withEnumerationType(EnumerationType type)
Sets the enumerationType value.
|
NppesRequestBuilder |
withLimit(int limit)
Sets the limit value.
|
NppesRequestBuilder |
withNumber(java.lang.String number)
Sets the number value.
|
NppesRequestBuilder |
withOrganizationName(java.lang.String orgName)
Sets the organizationName value.
|
NppesRequestBuilder |
withPostalCode(java.lang.String postalCode)
Sets the postalCode value.
|
NppesRequestBuilder |
withSkip(int skip)
Sets the skip value.
|
NppesRequestBuilder |
withState(java.lang.String state)
Sets the state value.
|
NppesRequestBuilder |
withTaxonomyDescription(java.lang.String desc)
Sets the taxonomyDescription value.
|
public NppesRequestBuilder()
This class is used as an adapter for class NppesRequest and make it easier to build request in Java env.
class NppesRequestpublic java.lang.String getNumber()
The unique, 10-digit National Provider Identifier (NPI) assigned to the provider.
public void setNumber(java.lang.String p)
The unique, 10-digit National Provider Identifier (NPI) assigned to the provider.
public EnumerationType getEnumerationType()
The Read API can be refined to retrieve only Individual Providers or Organizational Providers. When using the Enumeration Type, it cannot be the only criteria entered. Additional criteria must also be entered as well.
public void setEnumerationType(EnumerationType p)
The Read API can be refined to retrieve only Individual Providers or Organizational Providers. When using the Enumeration Type, it cannot be the only criteria entered. Additional criteria must also be entered as well.
public java.lang.String getTaxonomyDescription()
Search for providers by their taxonomy by entering the taxonomy description.
public void setTaxonomyDescription(java.lang.String p)
Search for providers by their taxonomy by entering the taxonomy description.
public java.lang.String getOrganizationName()
This field only applies to Organizational Providers. Trailing wildcard entries are permitted requiring at least two characters to be entered.
public void setOrganizationName(java.lang.String p)
This field only applies to Organizational Providers. Trailing wildcard entries are permitted requiring at least two characters to be entered.
public AddressPurpose getAddressPurpose()
Refers to whether the address information entered pertains to the provider's Mailing Address or the provider's Practice Location Address. When not specified, the results will contain the providers where either the Mailing Address or the Practice Location Addresses match the entered address information
public void setAddressPurpose(AddressPurpose p)
Refers to whether the address information entered pertains to the provider's Mailing Address or the provider's Practice Location Address. When not specified, the results will contain the providers where either the Mailing Address or the Practice Location Addresses match the entered address information
public java.lang.String getCity()
The City associated with the provider's address identified in Address Purpose.
public void setCity(java.lang.String p)
The City associated with the provider's address identified in Address Purpose.
public java.lang.String getState()
The State abbreviation associated with the provider's address identified in Address Purpose.
public void setState(java.lang.String p)
The State abbreviation associated with the provider's address identified in Address Purpose.
public java.lang.String getPostalCode()
The Postal Code associated with the provider's address identified in Address Purpose. There is an implied trailing wildcard. If you enter a 5 digit postal code, it will match any appropriate 9 digit (zip+4) codes in the data.
public void setPostalCode(java.lang.String p)
The Postal Code associated with the provider's address identified in Address Purpose. There is an implied trailing wildcard. If you enter a 5 digit postal code, it will match any appropriate 9 digit (zip+4) codes in the data.
public java.lang.String getCountryCode()
The Country associated with the provider's address identified in Address Purpose. This field can be used as the only input criterion as long as the value selected is not US (United States).
public void setCountryCode(java.lang.String p)
The Country associated with the provider's address identified in Address Purpose. This field can be used as the only input criterion as long as the value selected is not US (United States).
public int getLimit()
Limit the results returned. The default value is 10. The value can be set to any value from 1 to 200.
public void setLimit(int p)
Limit the results returned. The default value is 10. The value can be set to any value from 1 to 200.
public int getSkip()
The first N (value entered) results meeting the entered criteria will be bypassed and will not be included in the output.
public void setSkip(int p)
The first N (value entered) results meeting the entered criteria will be bypassed and will not be included in the output.
public NppesRequestBuilder withNumber(java.lang.String number)
Sets the number value.
number - to be setclass NppesRequestBuilderpublic NppesRequestBuilder withEnumerationType(EnumerationType type)
Sets the enumerationType value.
type - to be setclass NppesRequestBuilderpublic NppesRequestBuilder withTaxonomyDescription(java.lang.String desc)
Sets the taxonomyDescription value.
desc - description to be setclass NppesRequestBuilderpublic NppesRequestBuilder withOrganizationName(java.lang.String orgName)
Sets the organizationName value.
orgName - organization name to be setclass NppesRequestBuilderpublic NppesRequestBuilder withAddressPurpose(AddressPurpose purpose)
Sets the addressPurpose value.
purpose - address purpose to be setclass NppesRequestBuilderpublic NppesRequestBuilder withCity(java.lang.String city)
Sets the city value.
city - to be setclass NppesRequestBuilderpublic NppesRequestBuilder withState(java.lang.String state)
Sets the state value.
state - to be setclass NppesRequestBuilderpublic NppesRequestBuilder withPostalCode(java.lang.String postalCode)
Sets the postalCode value.
postalCode - to be setclass NppesRequestBuilderpublic NppesRequestBuilder withCountrylCode(java.lang.String countryCode)
Sets the countryCode value.
countryCode - to be setclass NppesRequestBuilderpublic NppesRequestBuilder withLimit(int limit)
Sets the limit value.
class NppesRequestBuilderpublic NppesRequestBuilder withSkip(int skip)
Sets the skip value.
skip - to be setclass NppesRequestBuilderpublic NppesRequest build()
Builds the class NppesRequest based on givven data.
class NppesRequestclass NppesRequest