/* Options: Date: 2026-05-19 09:51:47 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: CreateEquipmentWarranty.* //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="/warranty/equipment", Verbs="POST") public static class CreateEquipmentWarranty implements IReturn { /** * Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided */ @ApiMember(Description="Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided") public String brand = null; /** * Richemont POS code */ @ApiMember(Description="Richemont POS code", IsRequired=true) public String posCode = null; /** * Equipment */ @ApiMember(Description="Equipment", IsRequired=true) public String equipment = null; /** * Warranty type */ @ApiMember(Description="Warranty type", IsRequired=true) public String warrantyType = null; /** * Date of the warranty start date e.g. 2025-06-01 */ @ApiMember(Description="Date of the warranty start date e.g. 2025-06-01", IsRequired=true) public Date warrantyStartDate = null; public String getBrand() { return brand; } public CreateEquipmentWarranty setBrand(String value) { this.brand = value; return this; } public String getPosCode() { return posCode; } public CreateEquipmentWarranty setPosCode(String value) { this.posCode = value; return this; } public String getEquipment() { return equipment; } public CreateEquipmentWarranty setEquipment(String value) { this.equipment = value; return this; } public String getWarrantyType() { return warrantyType; } public CreateEquipmentWarranty setWarrantyType(String value) { this.warrantyType = value; return this; } public Date getWarrantyStartDate() { return warrantyStartDate; } public CreateEquipmentWarranty setWarrantyStartDate(Date value) { this.warrantyStartDate = value; return this; } private static Object responseType = CreateEquipmentWarrantyResponse.class; public Object getResponseType() { return responseType; } } public static class CreateEquipmentWarrantyResponse { /** * Equipment number */ @ApiMember(Description="Equipment number", IsRequired=true) public String equipment = null; /** * Warranty type */ @ApiMember(Description="Warranty type", IsRequired=true) public String warrantyType = null; /** * Master warranty */ @ApiMember(Description="Master warranty", IsRequired=true) public String masterWarranty = null; /** * Warranty start date */ @ApiMember(Description="Warranty start date", IsRequired=true) public String warrantyStartDate = null; /** * Warranty end date */ @ApiMember(Description="Warranty end date") public String warrantyEndDate = null; /** * Warranty creation date */ @ApiMember(Description="Warranty creation date", IsRequired=true) public String warrantyCreationDate = null; /** * Warranty creation time */ @ApiMember(Description="Warranty creation time", IsRequired=true) public String warrantyCreationTime = null; /** * Object number (ERP) */ @ApiMember(Description="Object number (ERP)", IsRequired=true) public String objectNumber = null; public String getEquipment() { return equipment; } public CreateEquipmentWarrantyResponse setEquipment(String value) { this.equipment = value; return this; } public String getWarrantyType() { return warrantyType; } public CreateEquipmentWarrantyResponse setWarrantyType(String value) { this.warrantyType = value; return this; } public String getMasterWarranty() { return masterWarranty; } public CreateEquipmentWarrantyResponse setMasterWarranty(String value) { this.masterWarranty = value; return this; } public String getWarrantyStartDate() { return warrantyStartDate; } public CreateEquipmentWarrantyResponse setWarrantyStartDate(String value) { this.warrantyStartDate = value; return this; } public String getWarrantyEndDate() { return warrantyEndDate; } public CreateEquipmentWarrantyResponse setWarrantyEndDate(String value) { this.warrantyEndDate = value; return this; } public String getWarrantyCreationDate() { return warrantyCreationDate; } public CreateEquipmentWarrantyResponse setWarrantyCreationDate(String value) { this.warrantyCreationDate = value; return this; } public String getWarrantyCreationTime() { return warrantyCreationTime; } public CreateEquipmentWarrantyResponse setWarrantyCreationTime(String value) { this.warrantyCreationTime = value; return this; } public String getObjectNumber() { return objectNumber; } public CreateEquipmentWarrantyResponse setObjectNumber(String value) { this.objectNumber = value; return this; } } }