public class BanafoContactSearchCriteria
extends java.lang.Object
Constructor and Description |
---|
BanafoContactSearchCriteria(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
contactId()
Contact ID of the required contact
Contact ID of the required contact.
|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
int |
limit()
Number of retrieved contacts limit
Number of contacts per page (if limit is not provided, the maximum limit per provider will be used), pagination will
only work if the provider is specified.
|
java.lang.String |
nationalNumber()
National number for improved phone number searches
National number for improved phone number searches, taken into account only when 'Phone' is also present.
|
java.lang.String |
pageId()
Next page ID
Unique next page id, required by some CRMs to get next page results (PageId could be found in pagination object of
the previous page request's response).
|
java.lang.String |
phone()
Phone number to search for
Phone number to search for.
|
java.lang.String |
provider()
Contacts provider to be searched for
Slug that specifies the provider contacts desired, could be set to "banafo" for local contacts, if not specified
contacts for all active providers will be returned.
|
java.lang.String |
region()
Region code
Two-letter region code for parsing phone numbers without county code.
|
boolean |
reverseLookup()
Reverse phone lookup
Indicates whether the search will be a Reverse Lookup or normal Contact Listing.
|
java.lang.String |
search()
Word to search for
Word to search for - name, company name, email, phone, etc.
|
int |
start()
Starting offset
The number of contacts wished to be skipped before selecting records (if start is not provide, start will be
set to 0 as a default), pagination will only work if the provider is specified.
|
java.util.List<ContactType> |
types()
List of types to filter by
List of types to filter by.
|
public BanafoContactSearchCriteria(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public java.lang.String contactId()
public java.lang.String provider()
public java.lang.String search()
public java.util.List<ContactType> types()
public java.lang.String phone()
public java.lang.String nationalNumber()
public boolean reverseLookup()
public java.lang.String region()
public int start()
public int limit()
public java.lang.String pageId()