/* Options: Date: 2026-05-19 10:59:16 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: GetPosChainTransferAvailable.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Pos implements IConvertible { /** * POS Code */ // @ApiMember(Description="POS Code", IsRequired=true) String? posCode; /** * Name of the POS */ // @ApiMember(Description="Name of the POS", IsRequired=true) String? name; /** * City of the POS */ // @ApiMember(Description="City of the POS", IsRequired=true) String? city; /** * Address of the POS */ // @ApiMember(Description="Address of the POS", IsRequired=true) String? address; /** * Country of the POS */ // @ApiMember(Description="Country of the POS", IsRequired=true) String? country; /** * Brand of the POS */ // @ApiMember(Description="Brand of the POS", IsRequired=true) String? brand; Pos({this.posCode,this.name,this.city,this.address,this.country,this.brand}); Pos.fromJson(Map json) { fromMap(json); } fromMap(Map json) { posCode = json['posCode']; name = json['name']; city = json['city']; address = json['address']; country = json['country']; brand = json['brand']; return this; } Map toJson() => { 'posCode': posCode, 'name': name, 'city': city, 'address': address, 'country': country, 'brand': brand }; getTypeName() => "Pos"; TypeContext? context = _ctx; } class Pos implements IConvertible { /** * Name of the POS */ // @ApiMember(Description="Name of the POS", IsRequired=true) String? name; /** * POS Code */ // @ApiMember(Description="POS Code", IsRequired=true) String? posCode; /** * Pos Code To Be Displayed */ // @ApiMember(Description="Pos Code To Be Displayed", IsRequired=true) String? posCodeToBeDisplayed; /** * Country of the POS */ // @ApiMember(Description="Country of the POS", IsRequired=true) String? country; /** * City of the POS */ // @ApiMember(Description="City of the POS", IsRequired=true) String? city; /** * Postal Code */ // @ApiMember(Description="Postal Code", IsRequired=true) String? postalCode; /** * State */ // @ApiMember(Description="State", IsRequired=true) String? state; /** * Street */ // @ApiMember(Description="Street", IsRequired=true) String? street; Pos({this.name,this.posCode,this.posCodeToBeDisplayed,this.country,this.city,this.postalCode,this.state,this.street}); Pos.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; posCode = json['posCode']; posCodeToBeDisplayed = json['posCodeToBeDisplayed']; country = json['country']; city = json['city']; postalCode = json['postalCode']; state = json['state']; street = json['street']; return this; } Map toJson() => { 'name': name, 'posCode': posCode, 'posCodeToBeDisplayed': posCodeToBeDisplayed, 'country': country, 'city': city, 'postalCode': postalCode, 'state': state, 'street': street }; getTypeName() => "Pos"; TypeContext? context = _ctx; } class GetPosChainTransferAvailableResponse extends ListBase implements IConvertible { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; Pos operator [](int index) => l[index]; void operator []=(int index, Pos value) { l[index] = value; } GetPosChainTransferAvailableResponse(); GetPosChainTransferAvailableResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "GetPosChainTransferAvailableResponse"; TypeContext? context = _ctx; } // @Route("/posChain/{brand}/{posCode}/availableForTransfer", "GET") class GetPosChainTransferAvailable implements IReturn, IConvertible, IGet { /** * Brand */ // @ApiMember(Description="Brand", IsRequired=true) String? brand; /** * POS Legacy Code */ // @ApiMember(Description="POS Legacy Code", IsRequired=true) String? posCode; GetPosChainTransferAvailable({this.brand,this.posCode}); GetPosChainTransferAvailable.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = json['brand']; posCode = json['posCode']; return this; } Map toJson() => { 'brand': brand, 'posCode': posCode }; createResponse() => GetPosChainTransferAvailableResponse(); getResponseTypeName() => "GetPosChainTransferAvailableResponse"; getTypeName() => "GetPosChainTransferAvailable"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'Pos': TypeInfo(TypeOf.Class, create:() => Pos()), 'GetPosChainTransferAvailableResponse': TypeInfo(TypeOf.Class, create:() => GetPosChainTransferAvailableResponse()), 'GetPosChainTransferAvailable': TypeInfo(TypeOf.Class, create:() => GetPosChainTransferAvailable()), });