/* Options: Date: 2024-12-03 18:21:57 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: PaysonCheckoutv2GetCheckout.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export enum Payson2CheckoutStatus { None = 'None', Created = 'Created', FormsFilled = 'FormsFilled', ReadyToPay = 'ReadyToPay', ProcessingPayment = 'ProcessingPayment', ReadyToShip = 'ReadyToShip', Shipped = 'Shipped', PaidToAccount = 'PaidToAccount', Canceled = 'Canceled', Credited = 'Credited', Expired = 'Expired', Denied = 'Denied', } export class PaysonCheckoutV2Response { /** @description The checkout id */ // @ApiMember(Description="The checkout id") public Id: string; /** @description The code snippet to for checkout module */ // @ApiMember(Description="The code snippet to for checkout module") public Snippet: string; /** @description The checkout status */ // @ApiMember(Description="The checkout status") public Status: Payson2CheckoutStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/payment/payson/v2/checkout/{Id}", "GET") export class PaysonCheckoutv2GetCheckout 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 The checkout id. */ // @ApiMember(Description="The checkout id.", IsRequired=true, ParameterType="path") public Id: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PaysonCheckoutv2GetCheckout'; } public getMethod() { return 'GET'; } public createResponse() { return new PaysonCheckoutV2Response(); } }