/* Options: Date: 2025-10-27 21:36:59 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: PayFastRequestCheckoutSession2.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PayFastCheckoutSessionResponse implements IConvertible { String? Url; PayFastCheckoutSessionResponse({this.Url}); PayFastCheckoutSessionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Url = json['Url']; return this; } Map toJson() => { 'Url': Url }; getTypeName() => "PayFastCheckoutSessionResponse"; TypeContext? context = _ctx; } // @Route("/payfast-checkout-session-2") class PayFastRequestCheckoutSession2 implements IReturn, IConvertible, IGet { String? SuccessUrl; String? CancelUrl; String? Description; String? Email; String? CommsGuid; int? CampaignActionsRequestsId; PayFastRequestCheckoutSession2({this.SuccessUrl,this.CancelUrl,this.Description,this.Email,this.CommsGuid,this.CampaignActionsRequestsId}); PayFastRequestCheckoutSession2.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SuccessUrl = json['SuccessUrl']; CancelUrl = json['CancelUrl']; Description = json['Description']; Email = json['Email']; CommsGuid = json['CommsGuid']; CampaignActionsRequestsId = json['CampaignActionsRequestsId']; return this; } Map toJson() => { 'SuccessUrl': SuccessUrl, 'CancelUrl': CancelUrl, 'Description': Description, 'Email': Email, 'CommsGuid': CommsGuid, 'CampaignActionsRequestsId': CampaignActionsRequestsId }; createResponse() => PayFastCheckoutSessionResponse(); getResponseTypeName() => "PayFastCheckoutSessionResponse"; getTypeName() => "PayFastRequestCheckoutSession2"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'PayFastCheckoutSessionResponse': TypeInfo(TypeOf.Class, create:() => PayFastCheckoutSessionResponse()), 'PayFastRequestCheckoutSession2': TypeInfo(TypeOf.Class, create:() => PayFastRequestCheckoutSession2()), });