/* Options: Date: 2026-02-14 10:04:36 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SearchItemDataNotification.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { /** * Item Data Notification */ @Route(Path="/itemDataNotification/search", Verbs="POST") @Api(Description="Item Data Notification") @ApiResponse(Description="Paged ItemDataNotification data", IsDefaultResponse=true, ResponseType=0, Culture=neutral, PublicKeyToken=null]].class, StatusCode=200) public static class SearchItemDataNotification implements IReturn>> { /** * Search query */ @ApiMember(Description="Search query", ParameterType="model") public SearchItemDataNotificationQuery query = null; public SearchItemDataNotificationQuery getQuery() { return query; } public SearchItemDataNotification setQuery(SearchItemDataNotificationQuery value) { this.query = value; return this; } private static Object responseType = new TypeToken>>(){}.getType(); public Object getResponseType() { return responseType; } } public static class PagedQueryResponseWithToken extends PagedQueryResult> { public String continuationToken = null; public String getContinuationToken() { return continuationToken; } public PagedQueryResponseWithToken setContinuationToken(String value) { this.continuationToken = value; return this; } } public static class SearchItemDataNotificationQuery implements ISearchItemDataNotification { public String receiverGln = null; public String senderGln = null; public ArrayList partnerGln = new ArrayList(); public Integer requestedPage = null; public Integer numberOfRecordsPerPage = null; public String continuationToken = null; public String categoryCode = null; public String identifier = null; public String tradeItemDescription = null; public String gtin = null; public String orderBy = null; public ORDER order = null; public String getReceiverGln() { return receiverGln; } public SearchItemDataNotificationQuery setReceiverGln(String value) { this.receiverGln = value; return this; } public String getSenderGln() { return senderGln; } public SearchItemDataNotificationQuery setSenderGln(String value) { this.senderGln = value; return this; } public ArrayList getPartnerGln() { return partnerGln; } public SearchItemDataNotificationQuery setPartnerGln(ArrayList value) { this.partnerGln = value; return this; } public Integer getRequestedPage() { return requestedPage; } public SearchItemDataNotificationQuery setRequestedPage(Integer value) { this.requestedPage = value; return this; } public Integer getNumberOfRecordsPerPage() { return numberOfRecordsPerPage; } public SearchItemDataNotificationQuery setNumberOfRecordsPerPage(Integer value) { this.numberOfRecordsPerPage = value; return this; } public String getContinuationToken() { return continuationToken; } public SearchItemDataNotificationQuery setContinuationToken(String value) { this.continuationToken = value; return this; } public String getCategoryCode() { return categoryCode; } public SearchItemDataNotificationQuery setCategoryCode(String value) { this.categoryCode = value; return this; } public String getIdentifier() { return identifier; } public SearchItemDataNotificationQuery setIdentifier(String value) { this.identifier = value; return this; } public String getTradeItemDescription() { return tradeItemDescription; } public SearchItemDataNotificationQuery setTradeItemDescription(String value) { this.tradeItemDescription = value; return this; } public String getGtin() { return gtin; } public SearchItemDataNotificationQuery setGtin(String value) { this.gtin = value; return this; } public String getOrderBy() { return orderBy; } public SearchItemDataNotificationQuery setOrderBy(String value) { this.orderBy = value; return this; } public ORDER getOrder() { return order; } public SearchItemDataNotificationQuery setOrder(ORDER value) { this.order = value; return this; } } public static class PagedQueryResult { public Long startIndex = null; public Long endIndex = null; public Integer numberOfRecordsReturned = null; public Integer totalNumberOfPages = null; public Long totalNumberOfRecords = null; public ArrayList results = new ArrayList(); public Long getStartIndex() { return startIndex; } public PagedQueryResult setStartIndex(Long value) { this.startIndex = value; return this; } public Long getEndIndex() { return endIndex; } public PagedQueryResult setEndIndex(Long value) { this.endIndex = value; return this; } public Integer getNumberOfRecordsReturned() { return numberOfRecordsReturned; } public PagedQueryResult setNumberOfRecordsReturned(Integer value) { this.numberOfRecordsReturned = value; return this; } public Integer getTotalNumberOfPages() { return totalNumberOfPages; } public PagedQueryResult setTotalNumberOfPages(Integer value) { this.totalNumberOfPages = value; return this; } public Long getTotalNumberOfRecords() { return totalNumberOfRecords; } public PagedQueryResult setTotalNumberOfRecords(Long value) { this.totalNumberOfRecords = value; return this; } public ArrayList getResults() { return results; } public PagedQueryResult setResults(ArrayList value) { this.results = value; return this; } } public static interface IFilteredQuery { public String receiverGln = null; public String senderGln = null; public ArrayList partnerGln = new ArrayList(); } public static interface IPagedQuery { public Integer requestedPage = null; public Integer numberOfRecordsPerPage = null; } public static enum ORDER { Asc, Desc; } public static interface IOrderedQuery { public String orderBy = null; public ORDER order = null; } public static interface ISearchItemDataNotification implements IFilteredQuery, IPagedQuery, IOrderedQuery { public String continuationToken = null; public String categoryCode = null; public String identifier = null; } }