Hidistro.Entities/Sales/PaymentModeInfo.cs

(完整代码) 1014B

namespace Hidistro.Entities.Sales
{
    using Hidistro.Core;
    using System;
    using System.Runtime.CompilerServices;

    [Serializable]
    public class PaymentModeInfo
    {
        public decimal CalcPayCharge(decimal cartMoney)
        {
            if (!this.IsPercent)
            {
                return this.Charge;
            }
            return (cartMoney * (this.Charge / 100M));
        }

        public PayApplicationType ApplicationType { get; set; }

        public decimal Charge { get; set; }

        public string Description { get; set; }

        public int DisplaySequence { get; set; }

        public string Gateway { get; set; }

        public bool IsPercent { get; set; }

        public bool IsUseInDistributor { get; set; }

        public bool IsUseInpour { get; set; }

        public int ModeId { get; set; }

        [HtmlCoding]
        public string Name { get; set; }

        public string Settings { get; set; }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。