float to PaymentPeriodInfo in payment_period

This commit is contained in:
2024-07-27 17:53:58 +03:30
parent 81b00a7416
commit 68accdeef0
+2 -2
View File
@@ -126,7 +126,7 @@ message UserBNPLResp {
BNPLInfo bnpl = 2;
int32 current_step = 3;
optional float amount = 4;
optional float payment_period = 5;
optional PaymentPeriodInfo payment_period = 5;
optional bool accepted_terms = 6;
repeated BNPLPayments payments = 7;
optional string employee_id = 8;
@@ -142,7 +142,7 @@ message UserBNPLReq {
string employee_id = 4;
int64 company_id = 5;
float amount = 7;
float payment_period = 8;
PaymentPeriodInfo payment_period = 8;
bool has_agreed_contract = 9;
}
message PaymentPeriodInfo {