/* Options: Date: 2025-04-04 20:16:20 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StripeGetAccountRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class StripeAccountQueryResponse implements IConvertible { String? StripeAccount; StripeAccountQueryResponse({this.StripeAccount}); StripeAccountQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StripeAccount = json['StripeAccount']; return this; } Map toJson() => { 'StripeAccount': StripeAccount }; getTypeName() => "StripeAccountQueryResponse"; TypeContext? context = _ctx; } // @Route("/payment/stripe/v1/account", "GET") class StripeGetAccountRequest implements IReturn, ICompany, IConvertible, IGet { /** * The company id. */ // @ApiMember(Description="The company id.", IsRequired=true) String? CompanyId; StripeGetAccountRequest({this.CompanyId}); StripeGetAccountRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; return this; } Map toJson() => { 'CompanyId': CompanyId }; createResponse() => StripeAccountQueryResponse(); getResponseTypeName() => "StripeAccountQueryResponse"; getTypeName() => "StripeGetAccountRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'StripeAccountQueryResponse': TypeInfo(TypeOf.Class, create:() => StripeAccountQueryResponse()), 'StripeGetAccountRequest': TypeInfo(TypeOf.Class, create:() => StripeGetAccountRequest()), });