打工e族

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 49|回复: 0

Advanced wallet gameplay How to formulate

[复制链接]

1

主题

1

帖子

5

积分

初入职场

Rank: 1

积分
5
发表于 2024-3-13 12:55:51 | 显示全部楼层 |阅读模式
Advanced wallet gameplay At this time there are two core issues to be solved when withdrawing money from the wallet How much There needs to be a system that tells the wallet what the current amount can be withdrawn as well as which accounts these balances come from and how much each account has How to withdraw When a merchant enters the withdrawal amount a system needs to inform the wallet from which accounts the withdrawal will be made and how much will be withdrawn from each account so a distribution strategy is required The next thing we do is to solve these two core demands You need to understand several key points before solving the problem We can convert the above demands into two more clear demands such as wallet balance inquiry


and withdrawal preprocessing support There are several key points BM Leads to understand  The withdrawable balance is not necessarily equal to the total available balance in the account Due to the existence of withdrawal fees individual accounts may not meet the minimum withdrawal amount requirements so the amount that can be withdrawn is not necessarily equal to the total available balance Advanced wallet gameplay For example if there is only cents in an account and the withdrawal fee is cents then the withdrawal cannot be completed Advanced wallet gameplay In the example above the calculation result of the withdrawable balance of entity = yuan Because the yuan in Account does not meet the minimum withdrawal requirements it cannot be withdrawn Actual withdrawal amount





yuan Therefore the wallet balance is yuan and the amount that can be withdrawn = yuan  The withdrawable balance does not represent the amount that the user wants to withdraw Because he may only choose to withdraw a part of it he needs to calculate how this amount should be allocated to the account unless the user is allowed to choose how much to withdraw from that account then the meaning of a unified wallet is lost a distribution strategy for withdrawal amounts There are many ways to make it simpler such as setting a fixed order and deducting money in the order of ABC Advanced wallet gameplay It can also be made into a comprehensive strategy For example if one account is enough then only one account is enough If multiple accounts are enough then debit money in sequence etc However the cost of such an .

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|打工e族 ( 鲁ICP备2021044221号 )

GMT+8, 2024-11-24 14:05 , Processed in 0.050390 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表