/* Options: Date: 2026-01-25 02:53:42 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FormatStNr.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * A base service to represent the given tax number in the format of the responsible Federal State. */ // @Api(Description="A base service to represent the given tax number in the format of the responsible Federal State.") abstract class FormatStNrBase implements IGet { /** * The valid ELSTER-formatted tax number. */ // @ApiMember(Description="The valid ELSTER-formatted tax number.") String? eingabeSteuernummer; FormatStNrBase({this.eingabeSteuernummer}); FormatStNrBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eingabeSteuernummer = json['eingabeSteuernummer']; return this; } Map toJson() => { 'eingabeSteuernummer': eingabeSteuernummer }; getTypeName() => "FormatStNrBase"; TypeContext? context = _ctx; } /** * Represent a base response that encapsulate any ERiC API function return value. */ // @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible { /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.") EricFehlerCode? statusCode; /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.") String? statusText; EricFehlerCodeResponse({this.statusCode,this.statusText}); EricFehlerCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!); statusText = json['statusText']; return this; } Map toJson() => super.toJson()..addAll({ 'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!), 'statusText': statusText }); getTypeName() => "EricFehlerCodeResponse"; TypeContext? context = _ctx; } /** * Represents a type that encapsulates the return values of the ERiC API function that formats tax numbers. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function that formats tax numbers.") class FormatStNrResponse extends EricFehlerCodeResponse implements IConvertible { /** * The formatted tax number. */ // @ApiMember(Description="The formatted tax number.") String? rueckgabe; FormatStNrResponse({this.rueckgabe}); FormatStNrResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); rueckgabe = json['rueckgabe']; return this; } Map toJson() => super.toJson()..addAll({ 'rueckgabe': rueckgabe }); getTypeName() => "FormatStNrResponse"; TypeContext? context = _ctx; } /** * A synchronous service to represent the given tax number in the format of the responsible Federal State. */ // @Route("/FormatStNr/{EingabeSteuernummer}", "GET") // @Api(Description="A synchronous service to represent the given tax number in the format of the responsible Federal State.") class FormatStNr extends FormatStNrBase implements IReturn, IConvertible, IGet { FormatStNr(); FormatStNr.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => FormatStNrResponse(); getResponseTypeName() => "FormatStNrResponse"; getTypeName() => "FormatStNr"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'FormatStNrBase': TypeInfo(TypeOf.AbstractClass), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'FormatStNrResponse': TypeInfo(TypeOf.Class, create:() => FormatStNrResponse()), 'FormatStNr': TypeInfo(TypeOf.Class, create:() => FormatStNr()), });