/* Options: Date: 2026-11-08 11:38:13 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DisableAutoPay.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class DisableAutoPayReply implements IHaveErrorField, IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; int? ErrorCode; String? ErrorMessage; bool? IsError; DisableAutoPayReply({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.ErrorCode,this.ErrorMessage,this.IsError}); DisableAutoPayReply.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; IsError = json['IsError']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'IsError': IsError }; getTypeName() => "DisableAutoPayReply"; TypeContext? context = _ctx; } // @Route("/payments/autopay/disable", "POST") class DisableAutoPay implements IReturn, IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; String? GroupId; String? UserId; int? BhUserId; String? Currency; DisableAutoPay({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.GroupId,this.UserId,this.BhUserId,this.Currency}); DisableAutoPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; GroupId = json['GroupId']; UserId = json['UserId']; BhUserId = json['BhUserId']; Currency = json['Currency']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'GroupId': GroupId, 'UserId': UserId, 'BhUserId': BhUserId, 'Currency': Currency }; createResponse() => DisableAutoPayReply(); getResponseTypeName() => "DisableAutoPayReply"; getTypeName() => "DisableAutoPay"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IHaveErrorField': TypeInfo(TypeOf.Interface), 'DisableAutoPayReply': TypeInfo(TypeOf.Class, create:() => DisableAutoPayReply()), 'DisableAutoPay': TypeInfo(TypeOf.Class, create:() => DisableAutoPay()), });