/* Options: Date: 2026-05-19 10:48:02 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: GrantElevateConsent.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GrantElevateConsentResponse implements IConvertible { /** * Salesforce Standard ID */ // @ApiMember(Description="Salesforce Standard ID", IsRequired=true) String? salesforceStandardId; GrantElevateConsentResponse({this.salesforceStandardId}); GrantElevateConsentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { salesforceStandardId = json['salesforceStandardId']; return this; } Map toJson() => { 'salesforceStandardId': salesforceStandardId }; getTypeName() => "GrantElevateConsentResponse"; TypeContext? context = _ctx; } // @Route("/customer/{brand}/{elevateCustomerId}/grantElevateConsent", "POST") class GrantElevateConsent implements IReturn, IConvertible, IPost { /** * Elevate customer ID */ // @ApiMember(Description="Elevate customer ID") String? elevateCustomerId; /** * POS Legacy */ // @ApiMember(Description="POS Legacy", IsRequired=true) String? posCode; /** * Brand e.g. CAR, MTB */ // @ApiMember(Description="Brand e.g. CAR, MTB", IsRequired=true) String? brand; /** * Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456. Email or full phone required */ // @ApiMember(Description="Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456. Email or full phone required") String? phone; /** * Prefix Country Id e.g. it, fr, az. Email or full phone required */ // @ApiMember(Description="Prefix Country Id e.g. it, fr, az. Email or full phone required") String? phoneCountryPrefix; /** * Customer email. Email or full phone required */ // @ApiMember(Description="Customer email. Email or full phone required") String? email; GrantElevateConsent({this.elevateCustomerId,this.posCode,this.brand,this.phone,this.phoneCountryPrefix,this.email}); GrantElevateConsent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { elevateCustomerId = json['elevateCustomerId']; posCode = json['posCode']; brand = json['brand']; phone = json['phone']; phoneCountryPrefix = json['phoneCountryPrefix']; email = json['email']; return this; } Map toJson() => { 'elevateCustomerId': elevateCustomerId, 'posCode': posCode, 'brand': brand, 'phone': phone, 'phoneCountryPrefix': phoneCountryPrefix, 'email': email }; createResponse() => GrantElevateConsentResponse(); getResponseTypeName() => "GrantElevateConsentResponse"; getTypeName() => "GrantElevateConsent"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'GrantElevateConsentResponse': TypeInfo(TypeOf.Class, create:() => GrantElevateConsentResponse()), 'GrantElevateConsent': TypeInfo(TypeOf.Class, create:() => GrantElevateConsent()), });