using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Domain
{
    /// <summary>
    /// SubAccountBalanceDTO Data Structure.
    /// </summary>
    public class SubAccountBalanceDTO : AlipayObject
    {
        /// <summary>
        /// 可用金额
        /// </summary>
        [JsonPropertyName("available_amount")]
        public MultiCurrencyMoneyOpenApi AvailableAmount { get; set; }

        /// <summary>
        /// 总余额
        /// </summary>
        [JsonPropertyName("balance")]
        public MultiCurrencyMoneyOpenApi Balance { get; set; }

        /// <summary>
        /// 冻结金额
        /// </summary>
        [JsonPropertyName("freeze_amount")]
        public MultiCurrencyMoneyOpenApi FreezeAmount { get; set; }
    }
}
