feat: Add discount balance and change value to wallet change log

- Added CurrentDiscountBalance and ChangeDiscountValue properties to GetCustomerWalletChangeLogResponseDto.
- Updated userwallet.proto to include current_discount_balance and change_discount_value fields.
- Enhanced CommissionProfile mapping to support GetMyCommissionPayouts requests and responses.
- Implemented GetMyCommissionPayouts query and handler to retrieve user commission payouts.
- Added validation for GetMyCommissionPayouts query.
- Updated UserOrderService to handle user orders, including VAT calculations and wallet transactions.
- Enhanced UserWalletService to include new properties in wallet change log responses.
This commit is contained in:
masoodafar-web
2026-02-07 22:03:49 +03:30
parent b2d676b555
commit 9185aa227d
13 changed files with 961 additions and 61 deletions
@@ -160,9 +160,11 @@ message CustomerWalletChangeLogModel
int64 change_value = 2;
int64 current_network_balance = 3;
int64 change_nerwork_value = 4;
bool is_increase = 5;
google.protobuf.Int64Value refrence_id = 6;
google.protobuf.Timestamp created_at = 7;
int64 current_discount_balance = 5;
int64 change_discount_value = 6;
bool is_increase = 7;
google.protobuf.Int64Value refrence_id = 8;
google.protobuf.Timestamp created_at = 9;
}
message CustomerWithdrawBalanceRequest