/* Options: Date: 2025-09-23 03:00:31 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: UpdateCoupon.* //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/{id}", Verbs="PUT") public static class UpdateCoupon implements IReturn { 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 UpdateCoupon setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public UpdateCoupon setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public UpdateCoupon setDescription(String value) { this.description = value; return this; } public Date getEffectiveDate() { return effectiveDate; } public UpdateCoupon setEffectiveDate(Date value) { this.effectiveDate = value; return this; } public String getDiscountType() { return discountType; } public UpdateCoupon setDiscountType(String value) { this.discountType = value; return this; } public HashMap getProductDiscounts() { return productDiscounts; } public UpdateCoupon setProductDiscounts(HashMap value) { this.productDiscounts = value; return this; } private static Object responseType = UpdateCouponResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateCouponResponse { public String message = null; public HttpStatusCode status = null; public String getMessage() { return message; } public UpdateCouponResponse setMessage(String value) { this.message = value; return this; } public HttpStatusCode getStatus() { return status; } public UpdateCouponResponse setStatus(HttpStatusCode value) { this.status = value; return this; } } }