/* Options: Date: 2026-10-01 10:21:30 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: DiscountCodeReportRequest.* //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="/DiscountCodeReport", Verbs="POST") public static class DiscountCodeReportRequest implements IReturn { public Integer ownerId = null; public ArrayList eventIds = null; public Integer getOwnerId() { return ownerId; } public DiscountCodeReportRequest setOwnerId(Integer value) { this.ownerId = value; return this; } public ArrayList getEventIds() { return eventIds; } public DiscountCodeReportRequest setEventIds(ArrayList value) { this.eventIds = value; return this; } private static Object responseType = DiscountCodeReportResult.class; public Object getResponseType() { return responseType; } } public static class DiscountCodeReportResult { public ArrayList items = null; public Integer ticketCountTotal = null; public BigDecimal amountDiscountedTotal = null; public Integer statusCode = null; public String message = null; public ArrayList getItems() { return items; } public DiscountCodeReportResult setItems(ArrayList value) { this.items = value; return this; } public Integer getTicketCountTotal() { return ticketCountTotal; } public DiscountCodeReportResult setTicketCountTotal(Integer value) { this.ticketCountTotal = value; return this; } public BigDecimal getAmountDiscountedTotal() { return amountDiscountedTotal; } public DiscountCodeReportResult setAmountDiscountedTotal(BigDecimal value) { this.amountDiscountedTotal = value; return this; } public Integer getStatusCode() { return statusCode; } public DiscountCodeReportResult setStatusCode(Integer value) { this.statusCode = value; return this; } public String getMessage() { return message; } public DiscountCodeReportResult setMessage(String value) { this.message = value; return this; } } public static class DiscountCodeReportRow { public String code = null; public Integer discountCodeTypeId = null; public String typeName = null; public Boolean isPercent = null; public BigDecimal percent = null; public BigDecimal fixedAmount = null; public Integer redemptions = null; public Integer ticketCount = null; public BigDecimal amountDiscounted = null; public Integer reversedRedemptions = null; public BigDecimal reversedAmount = null; public Date firstUsedAt = null; public Date lastUsedAt = null; public String getCode() { return code; } public DiscountCodeReportRow setCode(String value) { this.code = value; return this; } public Integer getDiscountCodeTypeId() { return discountCodeTypeId; } public DiscountCodeReportRow setDiscountCodeTypeId(Integer value) { this.discountCodeTypeId = value; return this; } public String getTypeName() { return typeName; } public DiscountCodeReportRow setTypeName(String value) { this.typeName = value; return this; } public Boolean getIsPercent() { return isPercent; } public DiscountCodeReportRow setIsPercent(Boolean value) { this.isPercent = value; return this; } public BigDecimal getPercent() { return percent; } public DiscountCodeReportRow setPercent(BigDecimal value) { this.percent = value; return this; } public BigDecimal getFixedAmount() { return fixedAmount; } public DiscountCodeReportRow setFixedAmount(BigDecimal value) { this.fixedAmount = value; return this; } public Integer getRedemptions() { return redemptions; } public DiscountCodeReportRow setRedemptions(Integer value) { this.redemptions = value; return this; } public Integer getTicketCount() { return ticketCount; } public DiscountCodeReportRow setTicketCount(Integer value) { this.ticketCount = value; return this; } public BigDecimal getAmountDiscounted() { return amountDiscounted; } public DiscountCodeReportRow setAmountDiscounted(BigDecimal value) { this.amountDiscounted = value; return this; } public Integer getReversedRedemptions() { return reversedRedemptions; } public DiscountCodeReportRow setReversedRedemptions(Integer value) { this.reversedRedemptions = value; return this; } public BigDecimal getReversedAmount() { return reversedAmount; } public DiscountCodeReportRow setReversedAmount(BigDecimal value) { this.reversedAmount = value; return this; } public Date getFirstUsedAt() { return firstUsedAt; } public DiscountCodeReportRow setFirstUsedAt(Date value) { this.firstUsedAt = value; return this; } public Date getLastUsedAt() { return lastUsedAt; } public DiscountCodeReportRow setLastUsedAt(Date value) { this.lastUsedAt = value; return this; } } }