예제 #1
0
        public virtual void Patch(StoreShippingMethodEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException(nameof(target));
            }

            target.IsActive    = IsActive;
            target.Code        = Code;
            target.Description = Description;
            target.TaxType     = TaxType;
            target.LogoUrl     = LogoUrl;
            target.Name        = Name;
            target.Priority    = Priority;
        }
예제 #2
0
        public virtual void Patch(StoreShippingMethodEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }

            target.IsActive    = this.IsActive;
            target.Code        = this.Code;
            target.Description = this.Description;
            target.TaxType     = this.TaxType;
            target.LogoUrl     = this.LogoUrl;
            target.Name        = this.Name;
            target.Priority    = this.Priority;
        }