/* Options: Date: 2026-01-25 09:36:29 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: MakeElsterStnr.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * A base service to create an ELSTER-compatible tax number from a specified tax number. */ // @Api(Description="A base service to create an ELSTER-compatible tax number from a specified tax number.") abstract class MakeElsterStnrBase implements IPost { /** * The format of the tax number as indicated in the official letter. */ // @ApiMember(Description="The format of the tax number as indicated in the official letter.") String? steuernrBescheid; /** * The two-digit state number (corresponds to the first two digits of the Federal Tax Office number). */ // @ApiMember(Description="The two-digit state number (corresponds to the first two digits of the Federal Tax Office number).") String? landesnr; /** * The four-digit Federal Tax Office Number. */ // @ApiMember(Description="The four-digit Federal Tax Office Number.") String? bundesfinanzamtsnr; MakeElsterStnrBase({this.steuernrBescheid,this.landesnr,this.bundesfinanzamtsnr}); MakeElsterStnrBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { steuernrBescheid = json['steuernrBescheid']; landesnr = json['landesnr']; bundesfinanzamtsnr = json['bundesfinanzamtsnr']; return this; } Map toJson() => { 'steuernrBescheid': steuernrBescheid, 'landesnr': landesnr, 'bundesfinanzamtsnr': bundesfinanzamtsnr }; getTypeName() => "MakeElsterStnrBase"; 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, which creates an ELSTER-compatible tax number from a specified tax number. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which creates an ELSTER-compatible tax number from a specified tax number.") class MakeElsterStnrResponse extends EricFehlerCodeResponse implements IConvertible { /** * The tax number of the return type. */ // @ApiMember(Description="The tax number of the return type.") String? steuernr; MakeElsterStnrResponse({this.steuernr}); MakeElsterStnrResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); steuernr = json['steuernr']; return this; } Map toJson() => super.toJson()..addAll({ 'steuernr': steuernr }); getTypeName() => "MakeElsterStnrResponse"; TypeContext? context = _ctx; } /** * A synchronous service to create an ELSTER-compatible tax number from a specified tax number. */ // @Route("/MakeElsterStnr", "POST") // @Api(Description="A synchronous service to create an ELSTER-compatible tax number from a specified tax number.") class MakeElsterStnr extends MakeElsterStnrBase implements IReturn, IConvertible, IPost { MakeElsterStnr(); MakeElsterStnr.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => MakeElsterStnrResponse(); getResponseTypeName() => "MakeElsterStnrResponse"; getTypeName() => "MakeElsterStnr"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'MakeElsterStnrBase': TypeInfo(TypeOf.AbstractClass), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'MakeElsterStnrResponse': TypeInfo(TypeOf.Class, create:() => MakeElsterStnrResponse()), 'MakeElsterStnr': TypeInfo(TypeOf.Class, create:() => MakeElsterStnr()), });