/* Options: Date: 2026-05-19 09:51:35 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetPurchasablePos.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/purchase/pos", Verbs="GET") public static class GetPurchasablePos implements IReturn, IPagedRequest { /** * Index of the result set returned */ @ApiMember(Description="Index of the result set returned", IsRequired=true) public Integer page = null; /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned", IsRequired=true) public Integer items = null; /** * Omit precise record count - save on performance */ @ApiMember(Description="Omit precise record count - save on performance") public Boolean noCount = null; /** * Sorting expression */ @ApiMember(Description="Sorting expression") public String sortBy = null; /** * Brand Trigram */ @ApiMember(Description="Brand Trigram", IsRequired=true) public String brand = null; /** * Brand Context ID */ @ApiMember(Description="Brand Context ID") public String boosterContextId = null; public Integer getPage() { return page; } public GetPurchasablePos setPage(Integer value) { this.page = value; return this; } public Integer getItems() { return items; } public GetPurchasablePos setItems(Integer value) { this.items = value; return this; } public Boolean isNoCount() { return noCount; } public GetPurchasablePos setNoCount(Boolean value) { this.noCount = value; return this; } public String getSortBy() { return sortBy; } public GetPurchasablePos setSortBy(String value) { this.sortBy = value; return this; } public String getBrand() { return brand; } public GetPurchasablePos setBrand(String value) { this.brand = value; return this; } public String getBoosterContextId() { return boosterContextId; } public GetPurchasablePos setBoosterContextId(String value) { this.boosterContextId = value; return this; } private static Object responseType = GetPurchasablePosResponse.class; public Object getResponseType() { return responseType; } } public static class GetPurchasablePosResponse { /** * Index of the result set returnedr */ @ApiMember(Description="Index of the result set returnedr", IsRequired=true) public Integer page = null; /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned", IsRequired=true) public Integer items = null; /** * Total amount of pages / result sets */ @ApiMember(Description="Total amount of pages / result sets", IsRequired=true) public Integer totalPages = null; /** * Total amount of results */ @ApiMember(Description="Total amount of results", IsRequired=true) public Integer totalResults = null; /** * List of Pos */ @ApiMember(Description="List of Pos", IsRequired=true) public ArrayList elements = null; public Integer getPage() { return page; } public GetPurchasablePosResponse setPage(Integer value) { this.page = value; return this; } public Integer getItems() { return items; } public GetPurchasablePosResponse setItems(Integer value) { this.items = value; return this; } public Integer getTotalPages() { return totalPages; } public GetPurchasablePosResponse setTotalPages(Integer value) { this.totalPages = value; return this; } public Integer getTotalResults() { return totalResults; } public GetPurchasablePosResponse setTotalResults(Integer value) { this.totalResults = value; return this; } public ArrayList getElements() { return elements; } public GetPurchasablePosResponse setElements(ArrayList value) { this.elements = value; return this; } } public static interface IPagedRequest { public Integer page = null; public Integer items = null; public Boolean noCount = null; public String sortBy = null; } public static class Pos { /** * POS Code */ @ApiMember(Description="POS Code", IsRequired=true) public String posCode = null; /** * Name of the POS */ @ApiMember(Description="Name of the POS", IsRequired=true) public String name = null; /** * City of the POS */ @ApiMember(Description="City of the POS", IsRequired=true) public String city = null; /** * Address of the POS */ @ApiMember(Description="Address of the POS", IsRequired=true) public String address = null; /** * Country of the POS */ @ApiMember(Description="Country of the POS", IsRequired=true) public String country = null; /** * Brand of the POS */ @ApiMember(Description="Brand of the POS", IsRequired=true) public String brand = null; public String getPosCode() { return posCode; } public Pos setPosCode(String value) { this.posCode = value; return this; } public String getName() { return name; } public Pos setName(String value) { this.name = value; return this; } public String getCity() { return city; } public Pos setCity(String value) { this.city = value; return this; } public String getAddress() { return address; } public Pos setAddress(String value) { this.address = value; return this; } public String getCountry() { return country; } public Pos setCountry(String value) { this.country = value; return this; } public String getBrand() { return brand; } public Pos setBrand(String value) { this.brand = value; return this; } } public static class Pos { /** * Name of the POS */ @ApiMember(Description="Name of the POS", IsRequired=true) public String name = null; /** * POS Code */ @ApiMember(Description="POS Code", IsRequired=true) public String posCode = null; /** * Pos Code To Be Displayed */ @ApiMember(Description="Pos Code To Be Displayed", IsRequired=true) public String posCodeToBeDisplayed = null; /** * Country of the POS */ @ApiMember(Description="Country of the POS", IsRequired=true) public String country = null; /** * City of the POS */ @ApiMember(Description="City of the POS", IsRequired=true) public String city = null; /** * Postal Code */ @ApiMember(Description="Postal Code", IsRequired=true) public String postalCode = null; /** * State */ @ApiMember(Description="State", IsRequired=true) public String state = null; /** * Street */ @ApiMember(Description="Street", IsRequired=true) public String street = null; public String getName() { return name; } public Pos setName(String value) { this.name = value; return this; } public String getPosCode() { return posCode; } public Pos setPosCode(String value) { this.posCode = value; return this; } public String getPosCodeToBeDisplayed() { return posCodeToBeDisplayed; } public Pos setPosCodeToBeDisplayed(String value) { this.posCodeToBeDisplayed = value; return this; } public String getCountry() { return country; } public Pos setCountry(String value) { this.country = value; return this; } public String getCity() { return city; } public Pos setCity(String value) { this.city = value; return this; } public String getPostalCode() { return postalCode; } public Pos setPostalCode(String value) { this.postalCode = value; return this; } public String getState() { return state; } public Pos setState(String value) { this.state = value; return this; } public String getStreet() { return street; } public Pos setStreet(String value) { this.street = value; return this; } } }