71 lines
2.2 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package ledger
// SalaryWithdrawalCommand 是用户提现审核链路上的工资冻结/扣冻/解冻账务命令。
//
// SalaryUSDMinor 使用美元分,保证 H5 表单、后台审核和 wallet-service 之间不经过浮点换算。
type SalaryWithdrawalCommand struct {
AppCode string
CommandID string
UserID int64
SalaryAssetType string
SalaryUSDMinor int64
PointFeeAmount int64
PointNetAmount int64
PointsPerUSD int64
PointWithdrawFeeBPS int64
OperatorUserID int64
Reason string
WithdrawalRef string
WithdrawalApplicationID string
}
// SalaryWithdrawalReceipt 返回单边工资钱包变更后的余额,供 gateway/admin 回写申请单和前端展示。
type SalaryWithdrawalReceipt struct {
TransactionID string
UserID int64
SalaryAssetType string
SalaryUSDMinor int64
PointFeeAmount int64
PointNetAmount int64
PointsPerUSD int64
PointWithdrawFeeBPS int64
AvailableAfter int64
FrozenAfter int64
Version int64
CreatedAtMS int64
}
// PointWithdrawalCommand 是 Huwaa 策略积分提现的冻结/扣冻/解冻命令。
// GrossPointAmount 是实际冻结和扣减的积分总额Fee/Net/PointsPerUSD 只做提现展示和审核快照。
type PointWithdrawalCommand struct {
AppCode string
CommandID string
UserID int64
AssetType string
GrossPointAmount int64
FeePointAmount int64
NetPointAmount int64
PointsPerUSD int64
FeeBPS int64
OperatorUserID int64
Reason string
WithdrawalRef string
WithdrawalApplicationID string
}
// PointWithdrawalReceipt 返回 POINT 钱包冻结/扣冻/释放后的余额和费用快照。
type PointWithdrawalReceipt struct {
TransactionID string
UserID int64
AssetType string
GrossPointAmount int64
FeePointAmount int64
NetPointAmount int64
PointsPerUSD int64
FeeBPS int64
AvailableAfter int64
FrozenAfter int64
Version int64
CreatedAtMS int64
}