/* Options: Date: 2026-05-19 09:52:55 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: GetSelloutFormConfigurations.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GetSelloutFormConfigurationsResponse implements IConvertible { /** * Requirement for sales representative field, e.g. M, V, N */ // @ApiMember(Description="Requirement for sales representative field, e.g. M, V, N", IsRequired=true) String? salesRep; /** * Allow consignment transfer during sellout, e.g. M, V, N */ // @ApiMember(Description="Allow consignment transfer during sellout, e.g. M, V, N", IsRequired=true) String? allowConsignmentTransfer; /** * Invoice Number will be generated automatically during sellout, e.g. M, V, N */ // @ApiMember(Description="Invoice Number will be generated automatically during sellout, e.g. M, V, N", IsRequired=true) String? automaticInvoiceNumber; /** * Allow consignment sellout return is stock, e.g. V, N */ // @ApiMember(Description="Allow consignment sellout return is stock, e.g. V, N", IsRequired=true) String? allowConsignmentReturnInStock; /** * Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N */ // @ApiMember(Description="Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N", IsRequired=true) String? cpoSaleDeclaration; GetSelloutFormConfigurationsResponse({this.salesRep,this.allowConsignmentTransfer,this.automaticInvoiceNumber,this.allowConsignmentReturnInStock,this.cpoSaleDeclaration}); GetSelloutFormConfigurationsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { salesRep = json['salesRep']; allowConsignmentTransfer = json['allowConsignmentTransfer']; automaticInvoiceNumber = json['automaticInvoiceNumber']; allowConsignmentReturnInStock = json['allowConsignmentReturnInStock']; cpoSaleDeclaration = json['cpoSaleDeclaration']; return this; } Map toJson() => { 'salesRep': salesRep, 'allowConsignmentTransfer': allowConsignmentTransfer, 'automaticInvoiceNumber': automaticInvoiceNumber, 'allowConsignmentReturnInStock': allowConsignmentReturnInStock, 'cpoSaleDeclaration': cpoSaleDeclaration }; getTypeName() => "GetSelloutFormConfigurationsResponse"; TypeContext? context = _ctx; } // @Route("/selloutFormConfigurations/{brand}/{posCode}", "GET") class GetSelloutFormConfigurations implements IReturn, IConvertible, IGet { /** * Brand Triagram, e.g. CAR, IWC, VAC */ // @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true) String? brand; /** * Point of Sale Code, e.g. ES100:102048 */ // @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true) String? posCode; GetSelloutFormConfigurations({this.brand,this.posCode}); GetSelloutFormConfigurations.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = json['brand']; posCode = json['posCode']; return this; } Map toJson() => { 'brand': brand, 'posCode': posCode }; createResponse() => GetSelloutFormConfigurationsResponse(); getResponseTypeName() => "GetSelloutFormConfigurationsResponse"; getTypeName() => "GetSelloutFormConfigurations"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'GetSelloutFormConfigurationsResponse': TypeInfo(TypeOf.Class, create:() => GetSelloutFormConfigurationsResponse()), 'GetSelloutFormConfigurations': TypeInfo(TypeOf.Class, create:() => GetSelloutFormConfigurations()), });