2021-02-02 22:47:00 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
2021-02-10 22:04:05 +00:00
|
|
|
import type { Amount, HoudiniObject, IDType, HouID } from "../../common";
|
2021-02-02 22:47:00 +00:00
|
|
|
import type Nonprofit from '../';
|
|
|
|
import type Supporter from "../Supporter";
|
|
|
|
import type Transaction from './';
|
|
|
|
|
|
|
|
|
|
|
|
export interface Payment extends HoudiniObject<HouID> {
|
|
|
|
amount: Amount;
|
2021-02-10 22:04:05 +00:00
|
|
|
nonprofit: IDType | Nonprofit;
|
2021-02-02 22:47:00 +00:00
|
|
|
object: 'payment';
|
2021-02-10 22:04:05 +00:00
|
|
|
supporter: IDType | Supporter;
|
2021-02-02 22:47:00 +00:00
|
|
|
transaction: HouID | Transaction;
|
|
|
|
|
|
|
|
}
|
|
|
|
|