Added payment status
This commit is contained in:
parent
6b2b6b105a
commit
14cd8ca8b5
@ -113,12 +113,21 @@ message GetUserBNPLInfoReq {
|
||||
base.IdReq id = 2;
|
||||
}
|
||||
|
||||
enum BNPLPaymentsStatus{
|
||||
PENDING=0;
|
||||
PAYED=1;
|
||||
OVER_DUE=2;
|
||||
NOT_STARTED=3;
|
||||
NOT_YET_DUE=4;
|
||||
CANCLED=5;
|
||||
}
|
||||
message BNPLPayments {
|
||||
uint64 id = 1;
|
||||
double amount = 2;
|
||||
bool is_paied = 3;
|
||||
string due_date = 4;
|
||||
string settlement_date = 5;
|
||||
BNPLPaymentsStatus status = 6;
|
||||
}
|
||||
|
||||
message UserBNPLResp {
|
||||
@ -146,6 +155,7 @@ message UserBNPLReq {
|
||||
PaymentPeriodInfo payment_period = 8;
|
||||
bool has_agreed_contract = 9;
|
||||
}
|
||||
|
||||
message PaymentPeriodInfo {
|
||||
uint64 id = 1;
|
||||
uint64 period = 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user