/* Options: Date: 2024-11-21 12:37:31 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: QvicklyCheckoutIpnCallBack.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class ServerDataResponse { public HTTP_HOST: string; public HTTP_CONNECTION: string; public HTTP_CACHE_CONTROL: string; public HTTP_ACCEPT: string; public HTTP_USER_AGENT: string; public HTTP_ACCEPT_ENCODING: string; public HTTP_ACCEPT_LANGUAGE: string; public PATH: string; public SERVER_SOFTWARE: string; public SERVER_NAME: string; public SERVER_ADDR: string; public SERVER_PORT: string; public REMOTE_ADDR: string; public REMOTE_PORT: string; public GATEWAY_INTERFACE: string; public SERVER_PROTOCOL: string; public REQUEST_METHOD: string; public QUERY_STRING: string; public REQUEST_TIME: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CredentialsResponse { public hash: string; public id: string; public version: string; public client: string; public serverdata: ServerDataResponse; public time: string; public test: string; public language: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class QvicklyIpnCallbackResponseData { public number: string; public status: string; public orderid: string; public url: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class IpnCallBackResponse { public Message: string; public Success: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/payment/billmate/v1/ipncallback", "POST") export class QvicklyCheckoutIpnCallBack 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 payment credentials. */ // @ApiMember(Description="The payment credentials.") public credentials: CredentialsResponse; /** @description The payment ipn callback data. */ // @ApiMember(Description="The payment ipn callback data.") public data: QvicklyIpnCallbackResponseData; /** @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 'QvicklyCheckoutIpnCallBack'; } public getMethod() { return 'POST'; } public createResponse() { return new IpnCallBackResponse(); } }