/* Options: Date: 2026-11-08 12:02:20 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: StoredAccount.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseClass implements IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? Version; BaseClass({this.ClassName,this.UniqueId,this.CreatedDateTime,this.Version}); BaseClass.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); Version = json['Version']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'Version': Version }; getTypeName() => "BaseClass"; TypeContext? context = _ctx; } // @Route("/api/SalesForce/StoredAccount/", "POST") // @Route("/members/storedaccount/creditcard", "POST") class StoredAccount extends BaseClass implements IReturn>, IConvertible { int? ClientId; String? ClientGroupId; String? ClientUserId; int? BhUserId; StoredAccount({this.ClientId,this.ClientGroupId,this.ClientUserId,this.BhUserId}); StoredAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ClientId = json['ClientId']; ClientGroupId = json['ClientGroupId']; ClientUserId = json['ClientUserId']; BhUserId = json['BhUserId']; return this; } Map toJson() => super.toJson()..addAll({ 'ClientId': ClientId, 'ClientGroupId': ClientGroupId, 'ClientUserId': ClientUserId, 'BhUserId': BhUserId }); createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "StoredAccount"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'BaseClass': TypeInfo(TypeOf.Class, create:() => BaseClass()), 'StoredAccount': TypeInfo(TypeOf.Class, create:() => StoredAccount()), });