Ejemplo n.º 1
0
        /// <summary>
        /// Faz um Cancelamento.
        /// </summary>
        public ResponseBase Void(String merchantId, String merchantKey, String transactionID, String ipAddress)
        {
            this.request = new TransactionRequest(merchantId, merchantKey);

            MaxiPago.DataContract.Transactional.Void _void = new MaxiPago.DataContract.Transactional.Void();
            this.request.Order.Void = _void;

            _void.IpAddress     = ipAddress;
            _void.TransactionId = transactionID;

            return(new Utils().SendRequest <TransactionRequest>(this.request, this.Environment));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Faz um Cancelamento.
        /// </summary>
        public ResponseBase Void(String merchantId, String merchantKey, String transactionID, String ipAddress)
        {
            this.request = new TransactionRequest(merchantId, merchantKey);

            MaxiPago.DataContract.Transactional.Void _void = new MaxiPago.DataContract.Transactional.Void();
            this.request.Order.Void = _void;

            _void.IpAddress = ipAddress;
            _void.TransactionId = transactionID;

            return new Utils().SendRequest<TransactionRequest>(this.request, this.Environment);
        }