public virtual void Patch(PaymentGatewayTransactionEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }

            target.Amount = this.Amount;

            target.Currency         = this.Currency;
            target.GatewayIpAddress = this.GatewayIpAddress;
            target.IsProcessed      = this.IsProcessed;

            target.Note = this.Note;
            target.ProcessAttemptCount = this.ProcessAttemptCount;
            target.ProcessedDate       = this.ProcessedDate;
            target.ProcessError        = this.ProcessError;
            target.RequestData         = this.RequestData;
            target.ResponseCode        = this.ResponseCode;
            target.ResponseData        = this.ResponseData;
            target.Status = this.Status;
            target.Type   = this.Type;
        }
예제 #2
0
        public virtual void Patch(PaymentGatewayTransactionEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException(nameof(target));
            }

            target.Amount = Amount;

            target.Currency         = Currency;
            target.GatewayIpAddress = GatewayIpAddress;
            target.IsProcessed      = IsProcessed;

            target.Note = Note;
            target.ProcessAttemptCount = ProcessAttemptCount;
            target.ProcessedDate       = ProcessedDate;
            target.ProcessError        = ProcessError;
            target.RequestData         = RequestData;
            target.ResponseCode        = ResponseCode;
            target.ResponseData        = ResponseData;
            target.Status = Status;
            target.Type   = Type;
        }