/* Options: Date: 2025-09-23 02:59:50 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: CreateCoupon.* //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="POST") public static class CreateCoupon implements IReturn { public String name = null; public String code = null; public String description = null; public Date effectiveDate = null; public String discountType = null; public HashMap productDiscounts = null; public String getName() { return name; } public CreateCoupon setName(String value) { this.name = value; return this; } public String getCode() { return code; } public CreateCoupon setCode(String value) { this.code = value; return this; } public String getDescription() { return description; } public CreateCoupon setDescription(String value) { this.description = value; return this; } public Date getEffectiveDate() { return effectiveDate; } public CreateCoupon setEffectiveDate(Date value) { this.effectiveDate = value; return this; } public String getDiscountType() { return discountType; } public CreateCoupon setDiscountType(String value) { this.discountType = value; return this; } public HashMap getProductDiscounts() { return productDiscounts; } public CreateCoupon setProductDiscounts(HashMap value) { this.productDiscounts = value; return this; } private static Object responseType = CreateCouponResponse.class; public Object getResponseType() { return responseType; } } public static class CreateCouponResponse { public String message = null; public HttpStatusCode status = null; public String getMessage() { return message; } public CreateCouponResponse setMessage(String value) { this.message = value; return this; } public HttpStatusCode getStatus() { return status; } public CreateCouponResponse setStatus(HttpStatusCode value) { this.status = value; return this; } } }