/* Options: Date: 2025-04-12 09:17:07 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: StripeConnectAccountRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class StripeConnectAccountRes implements IConvertible { String? Url; StripeConnectAccountRes({this.Url}); StripeConnectAccountRes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Url = json['Url']; return this; } Map toJson() => { 'Url': Url }; getTypeName() => "StripeConnectAccountRes"; TypeContext? context = _ctx; } // @Route("/payment/stripe/v1/account/connect", "GET") class StripeConnectAccountRequest implements IReturn, ICompany, IConvertible, IGet { /** * The company id. */ // @ApiMember(Description="The company id.") String? CompanyId; /** * Uri to which stripe will redirect back to after authorization. */ // @ApiMember(Description="Uri to which stripe will redirect back to after authorization.", IsRequired=true) String? RedirectUri; StripeConnectAccountRequest({this.CompanyId,this.RedirectUri}); StripeConnectAccountRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; RedirectUri = json['RedirectUri']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'RedirectUri': RedirectUri }; createResponse() => StripeConnectAccountRes(); getResponseTypeName() => "StripeConnectAccountRes"; getTypeName() => "StripeConnectAccountRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'StripeConnectAccountRes': TypeInfo(TypeOf.Class, create:() => StripeConnectAccountRes()), 'StripeConnectAccountRequest': TypeInfo(TypeOf.Class, create:() => StripeConnectAccountRequest()), });