Class ContactChain.Fetch
java.lang.Object
de.focus_shift.lexoffice.java.sdk.chain.ContactChain.Fetch
- Enclosing class:
- ContactChain
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomer(boolean customer) if set to true filters contacts that have the role customer.filters contacts where any of their email addresses inside the emailAddresses JSON object match the given email value.get()protected RequestContextprotected RestUriBuilderfilters contacts whose name matches the given name value.returns the contacts with the specified contact number.page(int page) Pages are zero indexed, thus providing 0 for page will return the first page.pageSize(int pageSize) Default page size is set to 25 but can be increased up to 100/250 (depends on the used endpoint).protected Stringvendor(boolean vendor) if set to true filters contacts that have the role vendor.
-
Constructor Details
-
Fetch
-
-
Method Details
-
page
Pages are zero indexed, thus providing 0 for page will return the first page. -
pageSize
Default page size is set to 25 but can be increased up to 100/250 (depends on the used endpoint). -
email
filters contacts where any of their email addresses inside the emailAddresses JSON object match the given email value. At least 3 characters are necessary to successfully complete the query. -
name
filters contacts whose name matches the given name value. At least 3 characters are necessary to successfully complete the query. -
number
returns the contacts with the specified contact number. Number is either the customer number or the vendor number located in the roles object. -
customer
if set to true filters contacts that have the role customer. If set to false filters contacts that do not have the customer role. -
vendor
if set to true filters contacts that have the role vendor. If set to false filters contacts that do not have the vendor role. -
get
-
getUriBuilder
-
resolvePath
-
getContext
-