/* Options: Date: 2025-10-27 21:48:32 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: DuEnableNotifyRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/duenable/webhook/notify", "POST") public class DuEnableNotifyRequest : Codable { public var paymentType:PaymentTypeEnum? public var transactionId:String? public var uuid:String? public var paymentId:String? public var result:Int? public var message:String? public var totalAmount:Double? public var adjustmentAmount:Double? public var transactionAmount:Double? public var feeAmount:Double? public var recurringId:String? public var signature:String? required public init(){} } public enum PaymentTypeEnum : Int, Codable { case OneTime = 1 case Recurring = 2 }