/* Options: Date: 2025-10-28 01:20:06 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaymentPlanActionsLookup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; // @Route("/payment_plan_actions", "GET") // @DataContract class PaymentPlanActionsLookup implements IReturn>, IConvertible, IGet { // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) int? ActionsId; // @DataMember(Order=4) bool? FirstPaymentOnly; // @DataMember(Order=5) int? MaxMonths; // @DataMember(Order=6) double? PaymentValue; // @DataMember(Order=7) double? PaymentFixedPercentage; // @DataMember(Order=8) double? PaymentMinPercentage; // @DataMember(Order=9) double? PaymentMaxPercentage; // @DataMember(Order=10) double? DiscountAmount; // @DataMember(Order=11) double? DiscountPercentage; PaymentPlanActionsLookup({this.TenantsId,this.ActionsId,this.FirstPaymentOnly,this.MaxMonths,this.PaymentValue,this.PaymentFixedPercentage,this.PaymentMinPercentage,this.PaymentMaxPercentage,this.DiscountAmount,this.DiscountPercentage}); PaymentPlanActionsLookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenantsId = json['TenantsId']; ActionsId = json['ActionsId']; FirstPaymentOnly = json['FirstPaymentOnly']; MaxMonths = json['MaxMonths']; PaymentValue = JsonConverters.toDouble(json['PaymentValue']); PaymentFixedPercentage = JsonConverters.toDouble(json['PaymentFixedPercentage']); PaymentMinPercentage = JsonConverters.toDouble(json['PaymentMinPercentage']); PaymentMaxPercentage = JsonConverters.toDouble(json['PaymentMaxPercentage']); DiscountAmount = JsonConverters.toDouble(json['DiscountAmount']); DiscountPercentage = JsonConverters.toDouble(json['DiscountPercentage']); return this; } Map toJson() => { 'TenantsId': TenantsId, 'ActionsId': ActionsId, 'FirstPaymentOnly': FirstPaymentOnly, 'MaxMonths': MaxMonths, 'PaymentValue': PaymentValue, 'PaymentFixedPercentage': PaymentFixedPercentage, 'PaymentMinPercentage': PaymentMinPercentage, 'PaymentMaxPercentage': PaymentMaxPercentage, 'DiscountAmount': DiscountAmount, 'DiscountPercentage': DiscountPercentage }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "PaymentPlanActionsLookup"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'List': TypeInfo(TypeOf.Class, create:() => []), 'PaymentPlanActionsLookupResponse': TypeInfo(TypeOf.Class, create:() => PaymentPlanActionsLookupResponse()), 'PaymentPlanActionsLookup': TypeInfo(TypeOf.Class, create:() => PaymentPlanActionsLookup()), });