/* Options: Date: 2025-04-09 05:59:35 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: StripeCreateAccountRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class StripeAccountResponse implements IConvertible { String? Message; bool? Success; StripeAccountResponse({this.Message,this.Success}); StripeAccountResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; Success = json['Success']; return this; } Map toJson() => { 'Message': Message, 'Success': Success }; getTypeName() => "StripeAccountResponse"; TypeContext? context = _ctx; } // @Route("/payment/stripe/v1/account", "POST") class StripeCreateAccountRequest implements IReturn, ICompany, IConvertible, IPost { /** * The company id. */ // @ApiMember(Description="The company id.", IsRequired=true) String? CompanyId; /** * One of: company, government_entity, individual, or non_profit. */ // @ApiMember(Description="One of: company, government_entity, individual, or non_profit.", IsRequired=true) String? BusinessType; StripeCreateAccountRequest({this.CompanyId,this.BusinessType}); StripeCreateAccountRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; BusinessType = json['BusinessType']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'BusinessType': BusinessType }; createResponse() => StripeAccountResponse(); getResponseTypeName() => "StripeAccountResponse"; getTypeName() => "StripeCreateAccountRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'StripeAccountResponse': TypeInfo(TypeOf.Class, create:() => StripeAccountResponse()), 'StripeCreateAccountRequest': TypeInfo(TypeOf.Class, create:() => StripeCreateAccountRequest()), });