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