houdini/docs/event_definitions/Nonprofit/Transaction/StripeTransaction/Charge.ts
2021-05-14 11:15:04 -05:00

14 lines
599 B
TypeScript

// 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>;