feat(domain-events): add payment failed event
This commit is contained in:
parent
11c2e08353
commit
4384ba2f47
3 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
import { DomainEventInterface } from './DomainEventInterface'
|
||||
|
||||
import { PaymentFailedEventPayload } from './PaymentFailedEventPayload'
|
||||
|
||||
export interface PaymentFailedEvent extends DomainEventInterface {
|
||||
type: 'PAYMENT_FAILED'
|
||||
payload: PaymentFailedEventPayload
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
export interface PaymentFailedEventPayload {
|
||||
userEmail: string
|
||||
}
|
|
@ -48,6 +48,8 @@ export * from './Event/OfflineSubscriptionTokenCreatedEvent'
|
|||
export * from './Event/OfflineSubscriptionTokenCreatedEventPayload'
|
||||
export * from './Event/OneDriveBackupFailedEvent'
|
||||
export * from './Event/OneDriveBackupFailedEventPayload'
|
||||
export * from './Event/PaymentFailedEvent'
|
||||
export * from './Event/PaymentFailedEventPayload'
|
||||
export * from './Event/PredicateVerificationRequestedEvent'
|
||||
export * from './Event/PredicateVerificationRequestedEventPayload'
|
||||
export * from './Event/PredicateVerifiedEvent'
|
||||
|
|
Loading…
Reference in a new issue