/* Options: Date: 2024-11-21 11:29:25 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaysonCheckout2IPNCallBack.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class IpnCallBackResponse { public Message: string; public Success: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/payment/payson/v2/ipncallback", "POST") export class PaysonCheckout2IPNCallBack implements IReturn, ICompany { /** @description 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 CompanyId?: string; /** @description Internal reference id (Could be booking, could be Article..) */ // @ApiMember(Description="Internal reference id (Could be booking, could be Article..)") public BookingId: string; /** @description The checkout id. */ // @ApiMember(Description="The checkout id.") public checkout: string; /** @description Article type (Could be Service, rebate code types, etc.. */ // @ApiMember(Description="Article type (Could be Service, rebate code types, etc..", IsRequired=true) public ArticleTypeId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PaysonCheckout2IPNCallBack'; } public getMethod() { return 'POST'; } public createResponse() { return new IpnCallBackResponse(); } }