expose payment code
This commit is contained in:
@@ -30,6 +30,13 @@ export class PaymentSchema extends PothosSchema {
|
||||
amount: t.exposeFloat('amount', {
|
||||
description: 'The amount of the payment.',
|
||||
}),
|
||||
paymentCode: t.exposeString('paymentCode', {
|
||||
description: 'The code of the payment.',
|
||||
}),
|
||||
expiredAt: t.expose('expiredAt', {
|
||||
type: 'DateTime',
|
||||
description: 'The date and time the payment will expire.',
|
||||
}),
|
||||
status: t.expose('status', {
|
||||
type: PaymentStatus,
|
||||
description: 'The status of the payment.',
|
||||
|
||||
Reference in New Issue
Block a user