void RequestTransfer()
        {
            Console.WriteLine("");
            Console.WriteLine("Entre o valor (ou deixe em branco para transferir todo o saldo disponível):");
            string amountString = Console.ReadLine();

            decimal  amount;
            Transfer transfer = new Transfer();

            if (decimal.TryParse(amountString, out amount))
            {
                transfer.Amount = amount;
            }

            try
            {
                var response = boletoFacil.RequestTransfer(transfer);
                ShowObjectResponseHeader();
                Console.WriteLine(response);
                ShowResponseSerialized(response);
            }
            catch (BoletoFacilException e)
            {
                HandleException(e);
            }
            finally
            {
                DoneMessage();
            }
        }
        public void RequestTransferFullBalance()
        {
            BoletoFacil boletoFacil = GetBoletoFacil();
            Transfer    transfer    = Transfer;

            TransferResponse response = boletoFacil.RequestTransfer(transfer);

            Assert.IsNotNull(response);
            Assert.IsTrue(response.Success);
        }
        public void RequestTransferPartialBalance()
        {
            BoletoFacil boletoFacil = GetBoletoFacil();
            Transfer    transfer    = Transfer;

            transfer.Amount = 78.67m;

            TransferResponse response = boletoFacil.RequestTransfer(transfer);

            Assert.IsNotNull(response);
            Assert.IsTrue(response.Success);
        }