TypeAlias.InvestTransaction
type InvestTransaction = {
buyer?: string | null;
createdAt: string;
currency: "EUR" | "USD";
fund: string;
id: string;
price: number;
seller?: string | null;
shares: number;
status: "PENDING" | "VALIDATED" | "REJECTED";
type: "INITIAL_DISTRIBUTION" | "BUY_BACK" | "SECONDARY_MARKET";
updatedAt: string;
};
Transaction record for an investment fund.
Represents a share movement: initial distribution, buy-back, or secondary
market transfer. Either seller or buyer may be null depending on type.
Type Declaration
| Name | Type |
|---|---|
buyer? | string |
createdAt | string |
currency | "EUR" |
fund | string |
id | string |
price | number |
seller? | string |
shares | number |
status | "PENDING" |
type | "INITIAL_DISTRIBUTION" |
updatedAt | string |