public class RefundForm extends Object
退款需要从指定账户出资时,传递此参数指定出资金额(币种的最小单位,只能为整数)。
同时指定多个账户出资退款的使用场景需要满足以下条件:
参数传递需要满足条件:
上述任一条件不满足将返回错误
| Modifier and Type | Field and Description |
|---|---|
private String |
account
出资账户类型
|
private Long |
amount
对应账户出资金额
|
| Constructor and Description |
|---|
RefundForm(String account,
Long amount)
Instantiates a new Refund form.
|
| Modifier and Type | Method and Description |
|---|---|
RefundForm |
available(long amount)
使用可用余额
|
RefundForm |
unavailable(long amount)
使用不可用余额
|
private final String account
AVAILABLE 可用余额
UNAVAILABLE 不可用余额
private final Long amount
public RefundForm available(long amount)
amount - the amountpublic RefundForm unavailable(long amount)
amount - the amountCopyright © 2023. All rights reserved.