E2EE Group Finance Management
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
694 B

export interface ITransaction {
/**
* Unique Identifier
*/
readonly id: string;
/**
* UTC Date
*/
date: string;
/**
* Display title
*/
title: string;
/**
* Currency String for formatting (EUR, USD)
*/
currency: string;
/**
* Array of MemberTransaction Credits
*/
credits: Array<IMemberTransaction>;
/**
* Array of MemberTransaction Debits
*/
debits: Array<IMemberTransaction>;
}
export interface IMemberTransaction {
/**
* MemberId of the transaction
*/
id: string;
/**
* Amount in the lowest denonimation, usually cents.
*/
amount: number;
}