/* Options: Date: 2026-11-08 11:52:16 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: MemberPaymentOption.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class PaymentOptions implements IConvertible { int? BhUserId; String? UserId; String? PaymentOption; PaymentOptions({this.BhUserId,this.UserId,this.PaymentOption}); PaymentOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BhUserId = json['BhUserId']; UserId = json['UserId']; PaymentOption = json['PaymentOption']; return this; } Map toJson() => { 'BhUserId': BhUserId, 'UserId': UserId, 'PaymentOption': PaymentOption }; getTypeName() => "PaymentOptions"; TypeContext? context = _ctx; } class MemberPaymentOptionReply implements IHaveErrorField, IConvertible { int? ClientId; String? GroupId; int? ErrorCode; String? ErrorMessage; List? PaymentOption; // @ApiMember(ExcludeInSchema=true) bool? IsError; MemberPaymentOptionReply({this.ClientId,this.GroupId,this.ErrorCode,this.ErrorMessage,this.PaymentOption,this.IsError}); MemberPaymentOptionReply.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientId = json['ClientId']; GroupId = json['GroupId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; PaymentOption = JsonConverters.fromJson(json['PaymentOption'],'List',context!); IsError = json['IsError']; return this; } Map toJson() => { 'ClientId': ClientId, 'GroupId': GroupId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'PaymentOption': JsonConverters.toJson(PaymentOption,'List',context!), 'IsError': IsError }; getTypeName() => "MemberPaymentOptionReply"; TypeContext? context = _ctx; } // @Route("/members/PaymentOption", "GET") class MemberPaymentOption implements IReturn, IConvertible { int? ClientId; String? GroupId; String? UserId; int? BhUserId; MemberPaymentOption({this.ClientId,this.GroupId,this.UserId,this.BhUserId}); MemberPaymentOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientId = json['ClientId']; GroupId = json['GroupId']; UserId = json['UserId']; BhUserId = json['BhUserId']; return this; } Map toJson() => { 'ClientId': ClientId, 'GroupId': GroupId, 'UserId': UserId, 'BhUserId': BhUserId }; createResponse() => MemberPaymentOptionReply(); getResponseTypeName() => "MemberPaymentOptionReply"; getTypeName() => "MemberPaymentOption"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IHaveErrorField': TypeInfo(TypeOf.Interface), 'PaymentOptions': TypeInfo(TypeOf.Class, create:() => PaymentOptions()), 'MemberPaymentOptionReply': TypeInfo(TypeOf.Class, create:() => MemberPaymentOptionReply()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MemberPaymentOption': TypeInfo(TypeOf.Class, create:() => MemberPaymentOption()), });