/* Options: Date: 2026-05-19 09:52:41 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: UpdatePOSIdentity.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UpdatePOSIdentityResponse implements IConvertible { UpdatePOSIdentityResponse(); UpdatePOSIdentityResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "UpdatePOSIdentityResponse"; TypeContext? context = _ctx; } // @Route("/posIdentity", "PUT") class UpdatePOSIdentity implements IReturn, IConvertible, IPut { /** * Point of Sale Code */ // @ApiMember(Description="Point of Sale Code", IsRequired=true) String? posCode; /** * Friendly name of the POS, max length 160 characters */ // @ApiMember(Description="Friendly name of the POS, max length 160 characters") String? friendlyName; UpdatePOSIdentity({this.posCode,this.friendlyName}); UpdatePOSIdentity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { posCode = json['posCode']; friendlyName = json['friendlyName']; return this; } Map toJson() => { 'posCode': posCode, 'friendlyName': friendlyName }; createResponse() => UpdatePOSIdentityResponse(); getResponseTypeName() => "UpdatePOSIdentityResponse"; getTypeName() => "UpdatePOSIdentity"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'UpdatePOSIdentityResponse': TypeInfo(TypeOf.Class, create:() => UpdatePOSIdentityResponse()), 'UpdatePOSIdentity': TypeInfo(TypeOf.Class, create:() => UpdatePOSIdentity()), });