/* Options: Date: 2026-11-08 12:02:43 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: StoredAccountDetail.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; 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/StoredAccountDetail", "POST, PUT, DELETE") // @Route("/members/storedaccountdetail", "POST, PUT, DELETE") class StoredAccountDetail extends BaseClass implements IReturn, IConvertible { int? StoredAccountId; String? NameOnCard; int? ClientId; String? GroupId; String? ClientUserId; int? BhUserId; String? CardNumber; int? ExpMonth; int? ExpYear; String? Cvv; String? CardType; String? BillingAddress; String? BillingCity; String? BillingState; String? BillingPostalCode; String? BillingCountry; String? ErrorCode; String? Message; StoredAccountDetail({this.StoredAccountId,this.NameOnCard,this.ClientId,this.GroupId,this.ClientUserId,this.BhUserId,this.CardNumber,this.ExpMonth,this.ExpYear,this.Cvv,this.CardType,this.BillingAddress,this.BillingCity,this.BillingState,this.BillingPostalCode,this.BillingCountry,this.ErrorCode,this.Message}); StoredAccountDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); StoredAccountId = json['StoredAccountId']; NameOnCard = json['NameOnCard']; ClientId = json['ClientId']; GroupId = json['GroupId']; ClientUserId = json['ClientUserId']; BhUserId = json['BhUserId']; CardNumber = json['CardNumber']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Cvv = json['Cvv']; CardType = json['CardType']; BillingAddress = json['BillingAddress']; BillingCity = json['BillingCity']; BillingState = json['BillingState']; BillingPostalCode = json['BillingPostalCode']; BillingCountry = json['BillingCountry']; ErrorCode = json['ErrorCode']; Message = json['Message']; return this; } Map toJson() => super.toJson()..addAll({ 'StoredAccountId': StoredAccountId, 'NameOnCard': NameOnCard, 'ClientId': ClientId, 'GroupId': GroupId, 'ClientUserId': ClientUserId, 'BhUserId': BhUserId, 'CardNumber': CardNumber, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Cvv': Cvv, 'CardType': CardType, 'BillingAddress': BillingAddress, 'BillingCity': BillingCity, 'BillingState': BillingState, 'BillingPostalCode': BillingPostalCode, 'BillingCountry': BillingCountry, 'ErrorCode': ErrorCode, 'Message': Message }); createResponse() => StoredAccountDetail(); getResponseTypeName() => "StoredAccountDetail"; getTypeName() => "StoredAccountDetail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'BaseClass': TypeInfo(TypeOf.Class, create:() => BaseClass()), 'StoredAccountDetail': TypeInfo(TypeOf.Class, create:() => StoredAccountDetail()), });