/* Options: Date: 2024-12-03 12:29:52 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.paysecure.acculynk.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DataStoreRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RequestorCredentials implements IConvertible { // @Required() String? MerchantId; // @Required() String? UserName; // @Required() String? Password; // @Required() String? Version; RequestorCredentials({this.MerchantId,this.UserName,this.Password,this.Version}); RequestorCredentials.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MerchantId = json['MerchantId']; UserName = json['UserName']; Password = json['Password']; Version = json['Version']; return this; } Map toJson() => { 'MerchantId': MerchantId, 'UserName': UserName, 'Password': Password, 'Version': Version }; getTypeName() => "RequestorCredentials"; TypeContext? context = _ctx; } enum DataStoreScope { AllMerchants, SingleMerchant, } class DataStoreFor implements IConvertible { DataStoreScope? StoreScope; String? Value; DataStoreFor({this.StoreScope,this.Value}); DataStoreFor.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StoreScope = JsonConverters.fromJson(json['StoreScope'],'DataStoreScope',context!); Value = json['Value']; return this; } Map toJson() => { 'StoreScope': JsonConverters.toJson(StoreScope,'DataStoreScope',context!), 'Value': Value }; getTypeName() => "DataStoreFor"; TypeContext? context = _ctx; } class DataStore implements IConvertible { String? ErrorCode; String? ErrorMessage; DataStore({this.ErrorCode,this.ErrorMessage}); DataStore.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; return this; } Map toJson() => { 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage }; getTypeName() => "DataStore"; TypeContext? context = _ctx; } class DataStoreRequest implements IReturn, IConvertible, IDelete { RequestorCredentials? Credentials; DataStoreFor? Scope; DataStoreRequest({this.Credentials,this.Scope}); DataStoreRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Credentials = JsonConverters.fromJson(json['Credentials'],'RequestorCredentials',context!); Scope = JsonConverters.fromJson(json['Scope'],'DataStoreFor',context!); return this; } Map toJson() => { 'Credentials': JsonConverters.toJson(Credentials,'RequestorCredentials',context!), 'Scope': JsonConverters.toJson(Scope,'DataStoreFor',context!) }; createResponse() => DataStore(); getResponseTypeName() => "DataStore"; getTypeName() => "DataStoreRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.paysecure.acculynk.net', types: { 'RequestorCredentials': TypeInfo(TypeOf.Class, create:() => RequestorCredentials()), 'DataStoreScope': TypeInfo(TypeOf.Enum, enumValues:DataStoreScope.values), 'DataStoreFor': TypeInfo(TypeOf.Class, create:() => DataStoreFor()), 'DataStore': TypeInfo(TypeOf.Class, create:() => DataStore()), 'DataStoreRequest': TypeInfo(TypeOf.Class, create:() => DataStoreRequest()), });