float to PaymentPeriodInfo in payment_period

This commit is contained in:
nfel 2024-07-27 17:53:58 +03:30
parent 81b00a7416
commit 68accdeef0
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -126,7 +126,7 @@ message UserBNPLResp {
BNPLInfo bnpl = 2; BNPLInfo bnpl = 2;
int32 current_step = 3; int32 current_step = 3;
optional float amount = 4; optional float amount = 4;
optional float payment_period = 5; optional PaymentPeriodInfo payment_period = 5;
optional bool accepted_terms = 6; optional bool accepted_terms = 6;
repeated BNPLPayments payments = 7; repeated BNPLPayments payments = 7;
optional string employee_id = 8; optional string employee_id = 8;
@ -142,7 +142,7 @@ message UserBNPLReq {
string employee_id = 4; string employee_id = 4;
int64 company_id = 5; int64 company_id = 5;
float amount = 7; float amount = 7;
float payment_period = 8; PaymentPeriodInfo payment_period = 8;
bool has_agreed_contract = 9; bool has_agreed_contract = 9;
} }
message PaymentPeriodInfo { message PaymentPeriodInfo {