Add enums for PaymentStatus and ProcessorType
This commit is contained in:
parent
b6ef03c54d
commit
825cdca4a6
7
src/modules/payments/enumns/payment-status.enum.ts
Normal file
7
src/modules/payments/enumns/payment-status.enum.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export enum PaymentStatusEnum {
|
||||
PENDING = 'pending',
|
||||
PROCESSING = 'processing',
|
||||
SUCCESS = 'success',
|
||||
FAILED = 'failed',
|
||||
RETRY = 'retry',
|
||||
}
|
||||
4
src/modules/payments/enumns/processor-type.enum.ts
Normal file
4
src/modules/payments/enumns/processor-type.enum.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export enum ProcessorTypeEnum {
|
||||
DEFAULT = 'default',
|
||||
FALLBACK = 'fallback',
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user