houdini/docs/event_definitions/Nonprofit/Transaction/StripeTransaction/Charge.ts

15 lines
599 B
TypeScript
Raw Normal View History

2021-05-05 16:35:17 +00:00
// License: LGPL-3.0-or-later
import type { HoudiniEvent } from "../../../common";
import type { CommonStripeTransactionPayment } from ".";
import type { PaymentAsId } from "..";
export interface ChargeAsId extends PaymentAsId {
object: 'stripe_transaction_charge';
}
export type Charge = CommonStripeTransactionPayment & ChargeAsId;
export type ChargeCreated = HoudiniEvent<'stripe_transaction_charge.created', Charge>;
export type ChargeUpdated = HoudiniEvent<'stripe_transaction_charge.updated', Charge>;
export type ChargeDeleted = HoudiniEvent<'stripe_transaction_charge.deleted', Charge>;