コード例 #1
0
        public CheckResult Check(DTOMarketOrder order)
        {
            CheckResult result = new CheckResult()
            {
                IsSuccess = false
            };

            var serviceType = order.InitialServiceType;

            if (ShippingUtils.IsServiceSameDay(serviceType))
            {
                return(new CheckResult()
                {
                    IsSuccess = true
                });
            }

            return(result);
        }