payment refactor
This commit is contained in:
@@ -12,13 +12,13 @@ export class Payment extends BaseEntity {
|
||||
amount!: number;
|
||||
|
||||
@Property({ unique: true, nullable: true })
|
||||
authority?: string | null;
|
||||
referenceId?: string | null;
|
||||
|
||||
@Enum(() => PaymentGatewayEnum)
|
||||
gateway?: PaymentGatewayEnum | null = null;
|
||||
|
||||
@Property({ nullable: true })
|
||||
refId?: string | null = null;
|
||||
transactionId?: string | null = null;
|
||||
|
||||
@Enum(() => PaymentStatusEnum)
|
||||
status!: PaymentStatusEnum;
|
||||
|
||||
Reference in New Issue
Block a user