/* Options: Date: 2026-05-19 05:29:40 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: DiscountCodeInfoRequest.* //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="/ticketOrder/getDiscountCodeInfo", Verbs="GET POST") public static class DiscountCodeInfoRequest implements IReturn { public String code = null; public String getCode() { return code; } public DiscountCodeInfoRequest setCode(String value) { this.code = value; return this; } private static Object responseType = DiscountCodeInfoResult.class; public Object getResponseType() { return responseType; } } public static class DiscountCodeInfoResult { public DiscountCodeInfo info = null; public Integer statusCode = null; public Boolean success = null; public String message = null; public DiscountCodeInfo getInfo() { return info; } public DiscountCodeInfoResult setInfo(DiscountCodeInfo value) { this.info = value; return this; } public Integer getStatusCode() { return statusCode; } public DiscountCodeInfoResult setStatusCode(Integer value) { this.statusCode = value; return this; } public Boolean isSuccess() { return success; } public DiscountCodeInfoResult setSuccess(Boolean value) { this.success = value; return this; } public String getMessage() { return message; } public DiscountCodeInfoResult setMessage(String value) { this.message = value; return this; } } public static class DiscountCodeInfo { public Integer codeId = null; public Integer discountCodeType = null; public String code = null; public Boolean isMultiUse = null; public Integer maxTickets = null; public Boolean isSingleUse = null; public Boolean isForPhoneNumberOnly = null; public String fullPhoneNumber = null; public Boolean isUsed = null; public Boolean codeTypeIsValid = 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 validTicketTypeId = null; public Integer discountCodeTypeId = null; public Integer eventSeriesOwnerTicketType = null; public Boolean ticketTypeIsValid = null; public Integer getCodeId() { return codeId; } public DiscountCodeInfo setCodeId(Integer value) { this.codeId = value; return this; } public Integer getDiscountCodeType() { return discountCodeType; } public DiscountCodeInfo setDiscountCodeType(Integer value) { this.discountCodeType = value; return this; } public String getCode() { return code; } public DiscountCodeInfo setCode(String value) { this.code = value; return this; } public Boolean getIsMultiUse() { return isMultiUse; } public DiscountCodeInfo setIsMultiUse(Boolean value) { this.isMultiUse = value; return this; } public Integer getMaxTickets() { return maxTickets; } public DiscountCodeInfo setMaxTickets(Integer value) { this.maxTickets = value; return this; } public Boolean getIsSingleUse() { return isSingleUse; } public DiscountCodeInfo setIsSingleUse(Boolean value) { this.isSingleUse = value; return this; } public Boolean getIsForPhoneNumberOnly() { return isForPhoneNumberOnly; } public DiscountCodeInfo setIsForPhoneNumberOnly(Boolean value) { this.isForPhoneNumberOnly = value; return this; } public String getFullPhoneNumber() { return fullPhoneNumber; } public DiscountCodeInfo setFullPhoneNumber(String value) { this.fullPhoneNumber = value; return this; } public Boolean getIsUsed() { return isUsed; } public DiscountCodeInfo setIsUsed(Boolean value) { this.isUsed = value; return this; } public Boolean isCodeTypeIsValid() { return codeTypeIsValid; } public DiscountCodeInfo setCodeTypeIsValid(Boolean value) { this.codeTypeIsValid = value; return this; } public String getName() { return name; } public DiscountCodeInfo setName(String value) { this.name = value; return this; } public Boolean getIsForEventId() { return isForEventId; } public DiscountCodeInfo setIsForEventId(Boolean value) { this.isForEventId = value; return this; } public Integer getEventId() { return eventId; } public DiscountCodeInfo setEventId(Integer value) { this.eventId = value; return this; } public Integer getEventOwnerId() { return eventOwnerId; } public DiscountCodeInfo setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; } public Boolean getIsForTicketType() { return isForTicketType; } public DiscountCodeInfo setIsForTicketType(Boolean value) { this.isForTicketType = value; return this; } public Integer getTicketTypeId() { return ticketTypeId; } public DiscountCodeInfo setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; } public Boolean getIsFixedAmount() { return isFixedAmount; } public DiscountCodeInfo setIsFixedAmount(Boolean value) { this.isFixedAmount = value; return this; } public BigDecimal getFixedAmount() { return fixedAmount; } public DiscountCodeInfo setFixedAmount(BigDecimal value) { this.fixedAmount = value; return this; } public Boolean getIsPercent() { return isPercent; } public DiscountCodeInfo setIsPercent(Boolean value) { this.isPercent = value; return this; } public BigDecimal getPercent() { return percent; } public DiscountCodeInfo setPercent(BigDecimal value) { this.percent = value; return this; } public Boolean getIsValid() { return isValid; } public DiscountCodeInfo setIsValid(Boolean value) { this.isValid = value; return this; } public Integer getValidTicketTypeId() { return validTicketTypeId; } public DiscountCodeInfo setValidTicketTypeId(Integer value) { this.validTicketTypeId = value; return this; } public Integer getDiscountCodeTypeId() { return discountCodeTypeId; } public DiscountCodeInfo setDiscountCodeTypeId(Integer value) { this.discountCodeTypeId = value; return this; } public Integer getEventSeriesOwnerTicketType() { return eventSeriesOwnerTicketType; } public DiscountCodeInfo setEventSeriesOwnerTicketType(Integer value) { this.eventSeriesOwnerTicketType = value; return this; } public Boolean isTicketTypeIsValid() { return ticketTypeIsValid; } public DiscountCodeInfo setTicketTypeIsValid(Boolean value) { this.ticketTypeIsValid = value; return this; } } }