/* Options: Date: 2025-09-23 03:00:30 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://accounts.dev.healthmonix.com/api/ //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetCoupons.* //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="/coupons", Verbs="GET") public static class GetCoupons implements IReturn { public String name = null; public Date fromDate = null; public Date toDate = null; public String discountType = null; public String getName() { return name; } public GetCoupons setName(String value) { this.name = value; return this; } public Date getFromDate() { return fromDate; } public GetCoupons setFromDate(Date value) { this.fromDate = value; return this; } public Date getToDate() { return toDate; } public GetCoupons setToDate(Date value) { this.toDate = value; return this; } public String getDiscountType() { return discountType; } public GetCoupons setDiscountType(String value) { this.discountType = value; return this; } private static Object responseType = GetCouponsResponse.class; public Object getResponseType() { return responseType; } } public static class GetCouponsResponse { public ArrayList results = null; public ArrayList getResults() { return results; } public GetCouponsResponse setResults(ArrayList value) { this.results = value; return this; } } public static class CouponDto { public Integer id = null; public String name = null; public String description = null; public Date effectiveDate = null; public String discountType = null; public HashMap productDiscounts = null; public Integer getId() { return id; } public CouponDto setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public CouponDto setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public CouponDto setDescription(String value) { this.description = value; return this; } public Date getEffectiveDate() { return effectiveDate; } public CouponDto setEffectiveDate(Date value) { this.effectiveDate = value; return this; } public String getDiscountType() { return discountType; } public CouponDto setDiscountType(String value) { this.discountType = value; return this; } public HashMap getProductDiscounts() { return productDiscounts; } public CouponDto setProductDiscounts(HashMap value) { this.productDiscounts = value; return this; } } }