/* Options: Date: 2026-05-19 09:48:54 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: GetPrice.* //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="/price/{brand}", Verbs="GET") public static class GetPrice implements IReturn { /** * Brand */ @ApiMember(Description="Brand", IsRequired=true) public String brand = null; /** * POS Legacy */ @ApiMember(Description="POS Legacy", IsRequired=true) public String posCode = null; /** * List of Article Codes */ @ApiMember(Description="List of Article Codes", IsRequired=true) public ArrayList articleCodes = null; /** * Include Dealer Cost Price in the response */ @ApiMember(Description="Include Dealer Cost Price in the response", IsRequired=true) public Boolean includeDealerCostPrice = null; public String getBrand() { return brand; } public GetPrice setBrand(String value) { this.brand = value; return this; } public String getPosCode() { return posCode; } public GetPrice setPosCode(String value) { this.posCode = value; return this; } public ArrayList getArticleCodes() { return articleCodes; } public GetPrice setArticleCodes(ArrayList value) { this.articleCodes = value; return this; } public Boolean isIncludeDealerCostPrice() { return includeDealerCostPrice; } public GetPrice setIncludeDealerCostPrice(Boolean value) { this.includeDealerCostPrice = value; return this; } private static Object responseType = GetPriceResponse.class; public Object getResponseType() { return responseType; } } public static class GetPriceResponse extends ArrayList { } public static class Price { /** * Reference Code of the item */ @ApiMember(Description="Reference Code of the item", IsRequired=true) public String articleCode = null; /** * Currency of the price */ @ApiMember(Description="Currency of the price", IsRequired=true) public String currency = null; /** * Retail price of the item */ @ApiMember(Description="Retail price of the item") public BigDecimal retailSalePrice = null; /** * Code of currency applied */ @ApiMember(Description="Code of currency applied", IsRequired=true) public String priceListCode = null; /** * Dealer Cost Price */ @ApiMember(Description="Dealer Cost Price") public DealerCostPrice dealerCostPrice = null; public String getArticleCode() { return articleCode; } public Price setArticleCode(String value) { this.articleCode = value; return this; } public String getCurrency() { return currency; } public Price setCurrency(String value) { this.currency = value; return this; } public BigDecimal getRetailSalePrice() { return retailSalePrice; } public Price setRetailSalePrice(BigDecimal value) { this.retailSalePrice = value; return this; } public String getPriceListCode() { return priceListCode; } public Price setPriceListCode(String value) { this.priceListCode = value; return this; } public DealerCostPrice getDealerCostPrice() { return dealerCostPrice; } public Price setDealerCostPrice(DealerCostPrice value) { this.dealerCostPrice = value; return this; } } public static class DealerCostPrice { /** * Currency of the Dealer Cost Price */ @ApiMember(Description="Currency of the Dealer Cost Price", IsRequired=true) public String currency = null; /** * Dealer Cost Price of the item */ @ApiMember(Description="Dealer Cost Price of the item", IsRequired=true) public BigDecimal price = null; public String getCurrency() { return currency; } public DealerCostPrice setCurrency(String value) { this.currency = value; return this; } public BigDecimal getPrice() { return price; } public DealerCostPrice setPrice(BigDecimal value) { this.price = value; return this; } } }