Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 18x 18x 18x 18x 18x 18x 18x 18x 18x 2x 1x | import { NAME as APPLICATION_NAME } from '../PohodaApplication';
import APohodaListBatch from './APohodaListBatch';
export const NAME = `${APPLICATION_NAME}-get-payment-list-batch`;
export const LAST_RUN_KEY = 'payment';
export enum Filter {
LAST_CHANGES = 'lastChanges',
DATE_FROM = 'dateFrom',
}
export default class PohodaGetPaymentListBatch extends APohodaListBatch<unknown, IOutput, Filter> {
public getName(): string {
return NAME;
}
protected getKey(): string {
return LAST_RUN_KEY;
}
protected getSchema(): string {
return 'http://www.stormware.cz/schema/version_2/list.xsd';
}
}
export interface IOutput {
paymentHeader: {
id: number;
name: string;
text: string;
paymentType: string;
useInSales: boolean;
useInOtherAgendas: boolean;
};
}
|