/* Options: Date: 2024-11-21 12:37:01 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: EAccountingTermsOfPaymentQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export enum TermsOfPaymentTypes { Normal = 'Normal', CurrentMonth = 'CurrentMonth', Cash = 'Cash', CardPayment = 'CardPayment', DigitalWallet = 'DigitalWallet', PaymentServiceProvider = 'PaymentServiceProvider', } export class EAccountingTermsOfPaymentQueryResponse { public Id: string; public Name: string; public NameEnglish: string; public NumberOfDays: number; public TermsOfPaymentTypeId: number; public TermsOfPaymentTypeText: string; public AvailableForSales: boolean; public AvailableForPurchase: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/eaccounting/termsofpayments", "GET") export class EAccountingTermsOfPaymentQuery implements IReturn, ICompany { public TermsOfPaymentTypeId?: TermsOfPaymentTypes; /** @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; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'EAccountingTermsOfPaymentQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new Array(); } }