/* Options: Date: 2026-05-19 10:47:17 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetPurchasablePos.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/purchase/pos", Verbs="GET") open class GetPurchasablePos : IReturn, IPagedRequest { /** * Index of the result set returned */ @ApiMember(Description="Index of the result set returned", IsRequired=true) var page:Int? = null /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned", IsRequired=true) var items:Int? = null /** * Omit precise record count - save on performance */ @ApiMember(Description="Omit precise record count - save on performance") var noCount:Boolean? = null /** * Sorting expression */ @ApiMember(Description="Sorting expression") var sortBy:String? = null /** * Brand Trigram */ @ApiMember(Description="Brand Trigram", IsRequired=true) var brand:String? = null /** * Brand Context ID */ @ApiMember(Description="Brand Context ID") var boosterContextId:String? = null companion object { private val responseType = GetPurchasablePosResponse::class.java } override fun getResponseType(): Any? = GetPurchasablePos.responseType } open class GetPurchasablePosResponse { /** * Index of the result set returnedr */ @ApiMember(Description="Index of the result set returnedr", IsRequired=true) var page:Int? = null /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned", IsRequired=true) var items:Int? = null /** * Total amount of pages / result sets */ @ApiMember(Description="Total amount of pages / result sets", IsRequired=true) var totalPages:Int? = null /** * Total amount of results */ @ApiMember(Description="Total amount of results", IsRequired=true) var totalResults:Int? = null /** * List of Pos */ @ApiMember(Description="List of Pos", IsRequired=true) var elements:ArrayList = ArrayList() } open interface IPagedRequest { var page:Int? var items:Int? var noCount:Boolean? var sortBy:String? } open class Pos { /** * POS Code */ @ApiMember(Description="POS Code", IsRequired=true) var posCode:String? = null /** * Name of the POS */ @ApiMember(Description="Name of the POS", IsRequired=true) var name:String? = null /** * City of the POS */ @ApiMember(Description="City of the POS", IsRequired=true) var city:String? = null /** * Address of the POS */ @ApiMember(Description="Address of the POS", IsRequired=true) var address:String? = null /** * Country of the POS */ @ApiMember(Description="Country of the POS", IsRequired=true) var country:String? = null /** * Brand of the POS */ @ApiMember(Description="Brand of the POS", IsRequired=true) var brand:String? = null } open class Pos { /** * Name of the POS */ @ApiMember(Description="Name of the POS", IsRequired=true) var name:String? = null /** * POS Code */ @ApiMember(Description="POS Code", IsRequired=true) var posCode:String? = null /** * Pos Code To Be Displayed */ @ApiMember(Description="Pos Code To Be Displayed", IsRequired=true) var posCodeToBeDisplayed:String? = null /** * Country of the POS */ @ApiMember(Description="Country of the POS", IsRequired=true) var country:String? = null /** * City of the POS */ @ApiMember(Description="City of the POS", IsRequired=true) var city:String? = null /** * Postal Code */ @ApiMember(Description="Postal Code", IsRequired=true) var postalCode:String? = null /** * State */ @ApiMember(Description="State", IsRequired=true) var state:String? = null /** * Street */ @ApiMember(Description="Street", IsRequired=true) var street:String? = null }