/* Options: Date: 2025-10-27 21:48:20 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PaymentRulesEdit.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/payment_rules/{Id}", Verbs="PUT") @DataContract public static class PaymentRulesEdit implements IReturn { @DataMember(Order=1) @Validate(Validator="NotNull") public Long Id = null; @DataMember(Order=2) @Validate(Validator="NotNull") public Integer TenantsId = null; @DataMember(Order=3) @Validate(Validator="NotNull") public Long PaymentActionsId = null; @DataMember(Order=4) public Double PaymentValue = null; @DataMember(Order=5) public Double PaymentPercentage = null; @DataMember(Order=6) public Double DiscountAmount = null; @DataMember(Order=7) public Double DiscountPercentage = null; public Long getId() { return Id; } public PaymentRulesEdit setId(Long value) { this.Id = value; return this; } public Integer getTenantsId() { return TenantsId; } public PaymentRulesEdit setTenantsId(Integer value) { this.TenantsId = value; return this; } public Long getPaymentActionsId() { return PaymentActionsId; } public PaymentRulesEdit setPaymentActionsId(Long value) { this.PaymentActionsId = value; return this; } public Double getPaymentValue() { return PaymentValue; } public PaymentRulesEdit setPaymentValue(Double value) { this.PaymentValue = value; return this; } public Double getPaymentPercentage() { return PaymentPercentage; } public PaymentRulesEdit setPaymentPercentage(Double value) { this.PaymentPercentage = value; return this; } public Double getDiscountAmount() { return DiscountAmount; } public PaymentRulesEdit setDiscountAmount(Double value) { this.DiscountAmount = value; return this; } public Double getDiscountPercentage() { return DiscountPercentage; } public PaymentRulesEdit setDiscountPercentage(Double value) { this.DiscountPercentage = value; return this; } private static Object responseType = PaymentRulesEditResponse.class; public Object getResponseType() { return responseType; } } public static class PaymentRulesEditResponse { @DataMember(Order=1) public Long Id = null; @DataMember(Order=2) public Integer TenantsId = null; @DataMember(Order=3) public Long PaymentActionsId = null; @DataMember(Order=4) public Double PaymentValue = null; @DataMember(Order=5) public Double PaymentPercentage = null; @DataMember(Order=6) public Double DiscountAmount = null; @DataMember(Order=7) public Double DiscountPercentage = null; @DataMember(Order=9) public ResponseStatus ResponseStatus = null; public Long getId() { return Id; } public PaymentRulesEditResponse setId(Long value) { this.Id = value; return this; } public Integer getTenantsId() { return TenantsId; } public PaymentRulesEditResponse setTenantsId(Integer value) { this.TenantsId = value; return this; } public Long getPaymentActionsId() { return PaymentActionsId; } public PaymentRulesEditResponse setPaymentActionsId(Long value) { this.PaymentActionsId = value; return this; } public Double getPaymentValue() { return PaymentValue; } public PaymentRulesEditResponse setPaymentValue(Double value) { this.PaymentValue = value; return this; } public Double getPaymentPercentage() { return PaymentPercentage; } public PaymentRulesEditResponse setPaymentPercentage(Double value) { this.PaymentPercentage = value; return this; } public Double getDiscountAmount() { return DiscountAmount; } public PaymentRulesEditResponse setDiscountAmount(Double value) { this.DiscountAmount = value; return this; } public Double getDiscountPercentage() { return DiscountPercentage; } public PaymentRulesEditResponse setDiscountPercentage(Double value) { this.DiscountPercentage = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public PaymentRulesEditResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }