v2: withdraw log msg + created status in accounting
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
3555d27c03
commit
b0a80e5dd3
@ -607,11 +607,12 @@ enum AccountingType {
|
|||||||
}
|
}
|
||||||
enum AccountingStatus {
|
enum AccountingStatus {
|
||||||
ACCOUNTING_STATUS_UNKNOWN = 0;
|
ACCOUNTING_STATUS_UNKNOWN = 0;
|
||||||
ACCOUNTING_STATUS_PENDING = 1;
|
ACCOUNTING_STATUS_CREATED = 1;
|
||||||
ACCOUNTING_STATUS_SUCCESS = 2;
|
ACCOUNTING_STATUS_PENDING = 2;
|
||||||
ACCOUNTING_STATUS_FAILED = 3;
|
ACCOUNTING_STATUS_SUCCESS = 3;
|
||||||
ACCOUNTING_STATUS_CANCELLED = 4;
|
ACCOUNTING_STATUS_FAILED = 4;
|
||||||
ACCOUNTING_STATUS_REJECTED = 5;
|
ACCOUNTING_STATUS_CANCELLED = 5;
|
||||||
|
ACCOUNTING_STATUS_REJECTED = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum IPGStatus {
|
enum IPGStatus {
|
||||||
@ -644,30 +645,19 @@ message IPGConfirmReq {
|
|||||||
// string amount = 7;
|
// string amount = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
// type IPGLog struct {
|
|
||||||
// AccountingID uint
|
|
||||||
// Accounting Accounting
|
|
||||||
// RefID string `gorm:"primaryKey"`
|
|
||||||
// Amount int64
|
|
||||||
// Status walletv1.AccountingStatus
|
|
||||||
// CreatedAt time.Time
|
|
||||||
// UpdatedAt time.Time
|
|
||||||
// Token string
|
|
||||||
// PSP PSP
|
|
||||||
// TransactionID *int64
|
|
||||||
// Transaction *Transaction
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
|
|
||||||
// type PSP string
|
message WithdrawLog {
|
||||||
//
|
uint64 id = 1;
|
||||||
// const (
|
Accounting accounting = 2;
|
||||||
// UNKNOWN_PSP = PSP("unknown")
|
string rrn = 3;
|
||||||
// PSP_VANDAR_BP_MELLAT = PSP("vandar_bp_mellat")
|
int64 amount = 4;
|
||||||
// PSP_VANDAR_SEP = PSP("vandar_sep")
|
AccountingStatus status = 5;
|
||||||
// PSP_VANDAR = PSP("vandar")
|
string created_at = 6;
|
||||||
// PSP_BP_MELLAT = PSP("bp_mellat")
|
string updated_at = 7;
|
||||||
// )
|
optional Transaction transaction = 8;
|
||||||
|
optional auth.v1.BankInfo bankinfo_id = 10;
|
||||||
|
optional bool accepted_by_admin = 11;
|
||||||
|
}
|
||||||
|
|
||||||
enum PSP {
|
enum PSP {
|
||||||
PSP_UNKNOWN = 0;
|
PSP_UNKNOWN = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user