From f87dc92d3ed4ffe0143b2335d248625d6533f73b Mon Sep 17 00:00:00 2001 From: nfel Date: Mon, 12 Aug 2024 10:26:03 +0330 Subject: [PATCH] Optional Field -> request.put partial body --- wallet_message.proto | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wallet_message.proto b/wallet_message.proto index d180844..3d82bf5 100644 --- a/wallet_message.proto +++ b/wallet_message.proto @@ -147,13 +147,13 @@ message UserBNPLResp { message UserBNPLReq { uint64 id = 1; int64 bnpl_id = 2; - string created_at = 3; - string employee_id = 4; - int64 company_id = 5; authorization.InternalIAM iam = 6; - float amount = 7; - PaymentPeriodInfo payment_period = 8; - bool has_agreed_contract = 9; + optional string created_at = 3; + optional string employee_id = 4; + optional int64 company_id = 5; + optional float amount = 7; + optional PaymentPeriodInfo payment_period = 8; + optional bool has_agreed_contract = 9; optional int32 current_step = 10; //Can be useful for admin to change the current step }