2021-04-07 21:43:58 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
|
|
|
import type { HoudiniEvent } from "../../../common";
|
|
|
|
import type { CommonOfflineTransactionPayment } from '.';
|
2021-05-05 22:11:35 +00:00
|
|
|
import type { PaymentAsId } from "..";
|
2021-04-07 21:43:58 +00:00
|
|
|
|
2021-05-05 22:11:35 +00:00
|
|
|
export interface ChargeAsId extends PaymentAsId {
|
2021-04-07 21:43:58 +00:00
|
|
|
object: 'offline_transaction_charge';
|
|
|
|
}
|
|
|
|
|
2021-05-05 22:11:35 +00:00
|
|
|
export type Charge = CommonOfflineTransactionPayment & ChargeAsId;
|
|
|
|
|
2021-04-07 21:43:58 +00:00
|
|
|
export type ChargeCreated = HoudiniEvent<'offline_transaction_charge.created', Charge>;
|
|
|
|
export type ChargeUpdated = HoudiniEvent<'offline_transaction_charge.updated', Charge>;
|
|
|
|
export type ChargeDeleted = HoudiniEvent<'offline_transaction_charge.deleted', Charge>;
|