/* Options: Date: 2025-10-28 04:14:01 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaymentGatewaysEdit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class PaymentGatewaysEditResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) int? PaymentActionsId; // @DataMember(Order=4) String? Name; // @DataMember(Order=5) String? ServiceKey; // @DataMember(Order=6) String? NotifyUrl; // @DataMember(Order=7) String? RedirectUrl; // @DataMember(Order=9) ResponseStatus? ResponseStatus; PaymentGatewaysEditResponse({this.Id,this.TenantsId,this.PaymentActionsId,this.Name,this.ServiceKey,this.NotifyUrl,this.RedirectUrl,this.ResponseStatus}); PaymentGatewaysEditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenantsId = json['TenantsId']; PaymentActionsId = json['PaymentActionsId']; Name = json['Name']; ServiceKey = json['ServiceKey']; NotifyUrl = json['NotifyUrl']; RedirectUrl = json['RedirectUrl']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'TenantsId': TenantsId, 'PaymentActionsId': PaymentActionsId, 'Name': Name, 'ServiceKey': ServiceKey, 'NotifyUrl': NotifyUrl, 'RedirectUrl': RedirectUrl, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PaymentGatewaysEditResponse"; TypeContext? context = _ctx; } // @Route("/payment_gateways/{Id}", "PUT") // @DataContract class PaymentGatewaysEdit implements IReturn, IConvertible, IPut { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; // @DataMember(Order=2) // @Validate(Validator="NotNull") int? TenantsId; // @DataMember(Order=3) // @Validate(Validator="NotNull") int? PaymentActionsId; // @DataMember(Order=4) // @Validate(Validator="NotNull") String? Name; // @DataMember(Order=5) String? ServiceKey; // @DataMember(Order=6) String? NotifyUrl; // @DataMember(Order=7) String? RedirectUrl; PaymentGatewaysEdit({this.Id,this.TenantsId,this.PaymentActionsId,this.Name,this.ServiceKey,this.NotifyUrl,this.RedirectUrl}); PaymentGatewaysEdit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenantsId = json['TenantsId']; PaymentActionsId = json['PaymentActionsId']; Name = json['Name']; ServiceKey = json['ServiceKey']; NotifyUrl = json['NotifyUrl']; RedirectUrl = json['RedirectUrl']; return this; } Map toJson() => { 'Id': Id, 'TenantsId': TenantsId, 'PaymentActionsId': PaymentActionsId, 'Name': Name, 'ServiceKey': ServiceKey, 'NotifyUrl': NotifyUrl, 'RedirectUrl': RedirectUrl }; createResponse() => PaymentGatewaysEditResponse(); getResponseTypeName() => "PaymentGatewaysEditResponse"; getTypeName() => "PaymentGatewaysEdit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'PaymentGatewaysEditResponse': TypeInfo(TypeOf.Class, create:() => PaymentGatewaysEditResponse()), 'PaymentGatewaysEdit': TypeInfo(TypeOf.Class, create:() => PaymentGatewaysEdit()), });