✨ Solarpay
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
export type { SnFileMeta, SnAttachment, SnPost } from './post'
|
||||
export type { SnVerification, SnPublisher } from './publisher'
|
||||
export type { SnActivity } from './activity'
|
||||
export type { SnWalletOrder, OrderStatus } from './order'
|
||||
export type { SnVersion } from './version'
|
||||
export type { SnAccountLink, SnAccountBadge, SnAccountPerkSubscription, SnAccountProfile, SnAccount } from './user'
|
||||
export type { GeoIpLocation, SnAuthChallenge, SnAuthSession, SnAuthFactor, SnAccountConnection } from './geo'
|
||||
|
||||
23
app/types/api/order.ts
Normal file
23
app/types/api/order.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
export enum OrderStatus {
|
||||
Unpaid = 0,
|
||||
Processing = 1,
|
||||
Paid = 2,
|
||||
Failed = 3,
|
||||
Cancelled = 4
|
||||
}
|
||||
|
||||
export interface SnWalletOrder {
|
||||
id: string
|
||||
status: OrderStatus
|
||||
currency: string
|
||||
remarks?: string
|
||||
appIdentifier?: string
|
||||
productIdentifier?: string
|
||||
meta?: Record<string, any>
|
||||
amount: number
|
||||
expiredAt: string
|
||||
payeeWalletId?: string
|
||||
payeeWallet?: any
|
||||
transactionId?: string
|
||||
transaction?: any
|
||||
}
|
||||
Reference in New Issue
Block a user