/* Options: Date: 2026-05-19 04:33:04 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: DiscountCodeTypeGetRequest.* //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="/DiscountCodeType/{Id}", Verbs="GET") public static class DiscountCodeTypeGetRequest implements IReturn { public Integer id = null; public Integer getId() { return id; } public DiscountCodeTypeGetRequest setId(Integer value) { this.id = value; return this; } private static Object responseType = DiscountCodeTypeResult.class; public Object getResponseType() { return responseType; } } public static class DiscountCodeTypeResult { public DiscountCodeType item = null; public Integer statusCode = null; public String message = null; public DiscountCodeType getItem() { return item; } public DiscountCodeTypeResult setItem(DiscountCodeType value) { this.item = value; return this; } public Integer getStatusCode() { return statusCode; } public DiscountCodeTypeResult setStatusCode(Integer value) { this.statusCode = value; return this; } public String getMessage() { return message; } public DiscountCodeTypeResult setMessage(String value) { this.message = value; return this; } } public static class DiscountCodeType { public Integer id = null; public String name = null; public Boolean isForEventId = null; public Integer eventId = null; public Integer eventOwnerId = null; public Boolean isForTicketType = null; public Integer ticketTypeId = null; public Boolean isFixedAmount = null; public BigDecimal fixedAmount = null; public Boolean isPercent = null; public BigDecimal percent = null; public Boolean isValid = null; public Integer getId() { return id; } public DiscountCodeType setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public DiscountCodeType setName(String value) { this.name = value; return this; } public Boolean getIsForEventId() { return isForEventId; } public DiscountCodeType setIsForEventId(Boolean value) { this.isForEventId = value; return this; } public Integer getEventId() { return eventId; } public DiscountCodeType setEventId(Integer value) { this.eventId = value; return this; } public Integer getEventOwnerId() { return eventOwnerId; } public DiscountCodeType setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; } public Boolean getIsForTicketType() { return isForTicketType; } public DiscountCodeType setIsForTicketType(Boolean value) { this.isForTicketType = value; return this; } public Integer getTicketTypeId() { return ticketTypeId; } public DiscountCodeType setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; } public Boolean getIsFixedAmount() { return isFixedAmount; } public DiscountCodeType setIsFixedAmount(Boolean value) { this.isFixedAmount = value; return this; } public BigDecimal getFixedAmount() { return fixedAmount; } public DiscountCodeType setFixedAmount(BigDecimal value) { this.fixedAmount = value; return this; } public Boolean getIsPercent() { return isPercent; } public DiscountCodeType setIsPercent(Boolean value) { this.isPercent = value; return this; } public BigDecimal getPercent() { return percent; } public DiscountCodeType setPercent(BigDecimal value) { this.percent = value; return this; } public Boolean getIsValid() { return isValid; } public DiscountCodeType setIsValid(Boolean value) { this.isValid = value; return this; } } }