/* Options: Date: 2026-05-19 09:52:40 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetPosAuth.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GetPosAuthResponse implements IConvertible { /** * Is Authorized */ // @ApiMember(Description="Is Authorized", IsRequired=true) bool? isAuthorized; GetPosAuthResponse({this.isAuthorized}); GetPosAuthResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isAuthorized = json['isAuthorized']; return this; } Map toJson() => { 'isAuthorized': isAuthorized }; getTypeName() => "GetPosAuthResponse"; TypeContext? context = _ctx; } // @Route("/security/{brand}/{posCode}/{mnemonicCode}", "GET") class GetPosAuth implements IReturn, IConvertible, IGet { /** * Brand Trigram */ // @ApiMember(Description="Brand Trigram", IsRequired=true) String? brand; /** * POS Legacy */ // @ApiMember(Description="POS Legacy", IsRequired=true) String? posCode; /** * Mnemonic Petal Code */ // @ApiMember(Description="Mnemonic Petal Code", IsRequired=true) String? mnemonicCode; GetPosAuth({this.brand,this.posCode,this.mnemonicCode}); GetPosAuth.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = json['brand']; posCode = json['posCode']; mnemonicCode = json['mnemonicCode']; return this; } Map toJson() => { 'brand': brand, 'posCode': posCode, 'mnemonicCode': mnemonicCode }; createResponse() => GetPosAuthResponse(); getResponseTypeName() => "GetPosAuthResponse"; getTypeName() => "GetPosAuth"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'GetPosAuthResponse': TypeInfo(TypeOf.Class, create:() => GetPosAuthResponse()), 'GetPosAuth': TypeInfo(TypeOf.Class, create:() => GetPosAuth()), });