2021-05-04 22:00:38 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
2021-05-05 16:35:17 +00:00
|
|
|
import type { HouID, HoudiniEvent } from "../../../common";
|
|
|
|
import type { Payment, Subtransaction} from "..";
|
|
|
|
|
|
|
|
export interface CommonStripeTransactionPayment extends Payment {
|
|
|
|
stripe_id: string;
|
|
|
|
subtransaction: HouID | StripeTransaction;
|
|
|
|
}
|
2021-05-04 22:00:38 +00:00
|
|
|
|
|
|
|
export default interface StripeTransaction extends Subtransaction {
|
|
|
|
object: 'stripe_transaction';
|
2021-05-05 16:35:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export type StripeTransactionCreated = HoudiniEvent<'stripe_transaction.created', StripeTransaction>;
|
|
|
|
export type StripeTransactionUpdated = HoudiniEvent<'stripe_transaction.updated', StripeTransaction>;
|
|
|
|
export type StripeTransactionRefunded = HoudiniEvent<'stripe_transaction.refunded', StripeTransaction>;
|
|
|
|
export type StripeTransactionDisputed = HoudiniEvent<'stripe_transaction.disputed', StripeTransaction>;
|
|
|
|
export type StripeTransactionDeleted = HoudiniEvent<'stripe_transaction.deleted', StripeTransaction>;
|
|
|
|
|
2021-05-13 19:22:15 +00:00
|
|
|
export * from './Charge';
|
2021-05-13 19:18:30 +00:00
|
|
|
export * from './Dispute';
|
|
|
|
export * from './Refund';
|