UNPKG

@documment/mmp.core

Version:

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.1.

54 lines (53 loc) 1.51 kB
import { IExchequerAccount } from './exchequer-account.model'; import { ExchequerAccount } from './exchequer-account.model'; import { IExchequerAudit } from './exchequer-audit.model'; import { ExchequerAudit } from './exchequer-audit.model'; import { IExchequerEvent } from './exchequer-event.model'; import { ExchequerEvent } from './exchequer-event.model'; export interface ITransaction { id: number; account: IExchequerAccount; providerTransactionId: string; amount: string; audit: IExchequerAudit; state: string; reason: string; groupedAt: string; pendingAt: string; settledAt: string; failedAt: string; isCandidate: boolean; isCreated: boolean; isPending: boolean; isSettled: boolean; isFailed: boolean; canInitiateAch: boolean; canEmailPdfs: boolean; events: IExchequerEvent[]; createdAt: string; updatedAt: string; } export declare class Transaction implements ITransaction { id: number; account: ExchequerAccount; providerTransactionId: string; amount: string; audit: ExchequerAudit; state: string; reason: string; groupedAt: string; pendingAt: string; settledAt: string; failedAt: string; isCandidate: boolean; isCreated: boolean; isPending: boolean; isSettled: boolean; isFailed: boolean; canInitiateAch: boolean; canEmailPdfs: boolean; events: ExchequerEvent[]; createdAt: string; updatedAt: string; constructor(params?: any); }