/* Options: Date: 2026-02-14 11:36:58 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: SearchCustomerMaster.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Customer Master */ @Route(Path="/customerMaster/search/owner", Verbs="POST") @Api(Description="Customer Master") @ApiResponse(Description="Paged Customer Master data", IsDefaultResponse=true, ResponseType=0, Culture=neutral, PublicKeyToken=null]].class, StatusCode=200) public static class SearchCustomerMaster implements IReturn> { /** * Search query */ @ApiMember(Description="Search query", ParameterType="model") public SearchCustomerMasterQuery query = null; public SearchCustomerMasterQuery getQuery() { return query; } public SearchCustomerMaster setQuery(SearchCustomerMasterQuery 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 SearchCustomerMasterQuery implements ISearchCustomerMaster { public String continuationToken = null; public String payByEntityIdentification = null; public Integer requestedPage = null; public Integer numberOfRecordsPerPage = null; public String orderBy = null; public ORDER order = null; public String getContinuationToken() { return continuationToken; } public SearchCustomerMasterQuery setContinuationToken(String value) { this.continuationToken = value; return this; } public String getPayByEntityIdentification() { return payByEntityIdentification; } public SearchCustomerMasterQuery setPayByEntityIdentification(String value) { this.payByEntityIdentification = value; return this; } public Integer getRequestedPage() { return requestedPage; } public SearchCustomerMasterQuery setRequestedPage(Integer value) { this.requestedPage = value; return this; } public Integer getNumberOfRecordsPerPage() { return numberOfRecordsPerPage; } public SearchCustomerMasterQuery setNumberOfRecordsPerPage(Integer value) { this.numberOfRecordsPerPage = value; return this; } public String getOrderBy() { return orderBy; } public SearchCustomerMasterQuery setOrderBy(String value) { this.orderBy = value; return this; } public ORDER getOrder() { return order; } public SearchCustomerMasterQuery 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 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 ISearchCustomerMaster implements IPagedQuery, IOrderedQuery { public String continuationToken = null; public String payByEntityIdentification = null; } }