
com.nedap.retail.messages.article.ArticleFindRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messages Show documentation
Show all versions of messages Show documentation
Client and messages for communicating with the Nedap Retail APIs
The newest version!
package com.nedap.retail.messages.article;
import java.util.Arrays;
import java.util.List;
public class ArticleFindRequest {
/**
* Search query.
* Please refer to the Article API documentation for a complete description.
*/
public String query;
/**
* Return this number of articles.
*/
public Integer count;
/**
* Skip this number of articles.
*/
public Integer skip;
/**
* Columns to which ordering should be applied.
* For example "color", "name", "barcodes.value".
* Please refer to the Article API documentation for a complete description.
*/
public List order;
/**
* Optional external reference. This can be used to match requests with responses from the server (for example,
* Ajax requests are asynchronous and thus can return out of sequence)
*/
public Long externRef;
public ArticleFindRequest() {
// Empty constructor used by Jackson
}
public ArticleFindRequest(final String query) {
this(query, 100, 0, Arrays.asList(Article.GTIN));
}
public ArticleFindRequest(final String query, final Integer count, final Integer skip, final List order) {
this.query = query;
this.count = count;
this.skip = skip;
this.order = order;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy