/* Options: Date: 2026-05-19 09:49:02 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: ExportInvoice.* //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="/invoice/{brand}/export", Verbs="POST") public static class ExportInvoice implements IReturn { /** * Brand Trigram, e.g. CAR, IWC */ @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true) public String brand = null; /** * Pos Legacy IDs / Codes */ @ApiMember(Description="Pos Legacy IDs / Codes", IsRequired=true) public ArrayList posCodes = null; /** * Date To */ @ApiMember(Description="Date To") public Date dateTo = null; /** * Date From */ @ApiMember(Description="Date From") public Date dateFrom = null; /** * Reason Code e.g. Y00, Y06 */ @ApiMember(Description="Reason Code e.g. Y00, Y06") public ArrayList reasonCodes = null; /** * Product Categories */ @ApiMember(Description="Product Categories") public ArrayList productCategories = null; /** * Export Request ID of the API Consumers */ @ApiMember(Description="Export Request ID of the API Consumers", IsRequired=true) public String downloadRequestId = null; public String getBrand() { return brand; } public ExportInvoice setBrand(String value) { this.brand = value; return this; } public ArrayList getPosCodes() { return posCodes; } public ExportInvoice setPosCodes(ArrayList value) { this.posCodes = value; return this; } public Date getDateTo() { return dateTo; } public ExportInvoice setDateTo(Date value) { this.dateTo = value; return this; } public Date getDateFrom() { return dateFrom; } public ExportInvoice setDateFrom(Date value) { this.dateFrom = value; return this; } public ArrayList getReasonCodes() { return reasonCodes; } public ExportInvoice setReasonCodes(ArrayList value) { this.reasonCodes = value; return this; } public ArrayList getProductCategories() { return productCategories; } public ExportInvoice setProductCategories(ArrayList value) { this.productCategories = value; return this; } public String getDownloadRequestId() { return downloadRequestId; } public ExportInvoice setDownloadRequestId(String value) { this.downloadRequestId = value; return this; } private static Object responseType = ExportInvoiceResponse.class; public Object getResponseType() { return responseType; } } public static class ExportInvoiceResponse { /** * Unique Identifier of the Export Request created */ @ApiMember(Description="Unique Identifier of the Export Request created", IsRequired=true) public UUID asyncTaskId = null; public UUID getAsyncTaskId() { return asyncTaskId; } public ExportInvoiceResponse setAsyncTaskId(UUID value) { this.asyncTaskId = value; return this; } } public static class ProductCategory { /** * Brand Category ID */ @ApiMember(Description="Brand Category ID") public String brandCategoryId = null; /** * Grand Category ID */ @ApiMember(Description="Grand Category ID", IsRequired=true) public String grandCategoryId = null; /** * Master Category ID */ @ApiMember(Description="Master Category ID") public String masterCategoryId = null; /** * Category ID */ @ApiMember(Description="Category ID") public String categoryId = null; /** * Sub Category ID */ @ApiMember(Description="Sub Category ID") public String subCategoryId = null; public String getBrandCategoryId() { return brandCategoryId; } public ProductCategory setBrandCategoryId(String value) { this.brandCategoryId = value; return this; } public String getGrandCategoryId() { return grandCategoryId; } public ProductCategory setGrandCategoryId(String value) { this.grandCategoryId = value; return this; } public String getMasterCategoryId() { return masterCategoryId; } public ProductCategory setMasterCategoryId(String value) { this.masterCategoryId = value; return this; } public String getCategoryId() { return categoryId; } public ProductCategory setCategoryId(String value) { this.categoryId = value; return this; } public String getSubCategoryId() { return subCategoryId; } public ProductCategory setSubCategoryId(String value) { this.subCategoryId = value; return this; } } public static class ProductCategory { /** * Brand Category ID */ @ApiMember(Description="Brand Category ID") public String brandCategoryId = null; /** * Grand Category ID */ @ApiMember(Description="Grand Category ID") public String grandCategoryId = null; /** * Master Category ID */ @ApiMember(Description="Master Category ID") public String masterCategoryId = null; /** * Category ID */ @ApiMember(Description="Category ID") public String categoryId = null; /** * Sub Category ID */ @ApiMember(Description="Sub Category ID") public String subCategoryId = null; public String getBrandCategoryId() { return brandCategoryId; } public ProductCategory setBrandCategoryId(String value) { this.brandCategoryId = value; return this; } public String getGrandCategoryId() { return grandCategoryId; } public ProductCategory setGrandCategoryId(String value) { this.grandCategoryId = value; return this; } public String getMasterCategoryId() { return masterCategoryId; } public ProductCategory setMasterCategoryId(String value) { this.masterCategoryId = value; return this; } public String getCategoryId() { return categoryId; } public ProductCategory setCategoryId(String value) { this.categoryId = value; return this; } public String getSubCategoryId() { return subCategoryId; } public ProductCategory setSubCategoryId(String value) { this.subCategoryId = value; return this; } } }