/* Options: Date: 2026-05-19 05:29:37 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: DiscountCodeTypesSearchRequest.* //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/Search", Verbs="POST") public static class DiscountCodeTypesSearchRequest implements IReturn { public Integer eventId = null; public Integer eventOwnerId = null; public Integer ticketTypeId = null; public Integer getEventId() { return eventId; } public DiscountCodeTypesSearchRequest setEventId(Integer value) { this.eventId = value; return this; } public Integer getEventOwnerId() { return eventOwnerId; } public DiscountCodeTypesSearchRequest setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; } public Integer getTicketTypeId() { return ticketTypeId; } public DiscountCodeTypesSearchRequest setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; } private static Object responseType = DiscountCodeTypesResult.class; public Object getResponseType() { return responseType; } } public static class DiscountCodeTypesResult { public ArrayList items = null; public Integer statusCode = null; public String message = null; public ArrayList getItems() { return items; } public DiscountCodeTypesResult setItems(ArrayList value) { this.items = value; return this; } public Integer getStatusCode() { return statusCode; } public DiscountCodeTypesResult setStatusCode(Integer value) { this.statusCode = value; return this; } public String getMessage() { return message; } public DiscountCodeTypesResult 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; } } }