/* Options: Date: 2024-06-26 18:22:21 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: PaysonCheckout1IPNCallBack.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/payson/v1/ipncallback", "POST") public class PaysonCheckout1IPNCallBack : IReturn, ICompany, Codable { public typealias Return = IpnCallBackResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? /** * The booking id. */ // @ApiMember(Description="The booking id.") public var bookingId:Int /** * The payment token. */ // @ApiMember(Description="The payment token.") public var token:String /** * The payment content. */ // @ApiMember(Description="The payment content.") public var content:String required public init(){} } public class IpnCallBackResponse : Codable { public var message:String public var success:Bool required public init(){} } public protocol ICompany { var companyId:String? { get set } }