/* Options: Date: 2024-10-18 10:36:42 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: 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? /** * Internal reference id (Could be booking, could be Article..) */ // @ApiMember(Description="Internal reference id (Could be booking, could be Article..)") public var bookingId:String /** * The checkout id. */ // @ApiMember(Description="The checkout id.") public var checkout:String /** * Article type (Could be Service, rebate code types, etc.. */ // @ApiMember(Description="Article type (Could be Service, rebate code types, etc..", IsRequired=true) public var articleTypeId:Int 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 } }