public virtual void Patch(SubscriptionEntity target)
        {
            if (target == null)
            {
                throw new NullReferenceException(nameof(target));
            }

            target.CustomerOrderPrototypeId = CustomerOrderPrototypeId;
            target.CustomerId         = CustomerId;
            target.CustomerName       = CustomerName;
            target.StoreId            = StoreId;
            target.Number             = Number;
            target.IsCancelled        = IsCancelled;
            target.CancelledDate      = CancelledDate;
            target.CancelReason       = CancelReason;
            target.Status             = Status;
            target.Interval           = Interval;
            target.IntervalCount      = IntervalCount;
            target.TrialPeriodDays    = TrialPeriodDays;
            target.Balance            = Balance;
            target.StartDate          = StartDate;
            target.EndDate            = EndDate;
            target.TrialSart          = TrialSart;
            target.TrialEnd           = TrialEnd;
            target.CurrentPeriodStart = CurrentPeriodStart;
            target.CurrentPeriodEnd   = CurrentPeriodEnd;
            target.OuterId            = OuterId;
            target.Comment            = Comment;
        }
        public virtual void Patch(SubscriptionEntity target)
        {
            if (target == null)
            {
                throw new NullReferenceException("target");
            }

            target.CustomerOrderPrototypeId = this.CustomerOrderPrototypeId;
            target.CustomerId         = this.CustomerId;
            target.CustomerName       = this.CustomerName;
            target.StoreId            = this.StoreId;
            target.Number             = this.Number;
            target.IsCancelled        = this.IsCancelled;
            target.CancelledDate      = this.CancelledDate;
            target.CancelReason       = this.CancelReason;
            target.Status             = this.Status;
            target.Interval           = this.Interval;
            target.IntervalCount      = this.IntervalCount;
            target.TrialPeriodDays    = this.TrialPeriodDays;
            target.Balance            = this.Balance;
            target.StartDate          = this.StartDate;
            target.EndDate            = this.EndDate;
            target.TrialSart          = this.TrialSart;
            target.TrialEnd           = this.TrialEnd;
            target.CurrentPeriodStart = this.CurrentPeriodStart;
            target.CurrentPeriodEnd   = this.CurrentPeriodEnd;
            target.OuterId            = this.OuterId;
        }