/* Options: Date: 2024-07-03 13:12:27 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: PaysonCheckout2IPNCallBack.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/payson/v2/ipncallback", "POST") public class PaysonCheckout2IPNCallBack : 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 checkout id. */ // @ApiMember(Description="The checkout id.") public var checkout: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 } }