Example #1
0
        public PagamentoNFe AdicionaDetalhe(IndicadorPagamentoDetalhePagamento indPag,
                                            FormaPagamento tPag, decimal vPag)
        {
            AddDetalhe(new detPag
            {
                indPag = indPag,
                tPag   = tPag,
                vPag   = vPag
            });

            return(this);
        }
Example #2
0
        public PagamentoNFe AdicionaDetalheCartao(IndicadorPagamentoDetalhePagamento indPag,
                                                  FormaPagamento tPag, decimal vPag,
                                                  TipoIntegracaoPagamento tpIntegra, BandeiraCartao tBand,
                                                  string CNPJ, string cAut)
        {
            AddDetalhe(new detPag
            {
                indPag = indPag,
                tPag   = tPag,
                vPag   = vPag,
                card   = new card
                {
                    tpIntegra = tpIntegra,
                    tBand     = tBand,
                    CNPJ      = CNPJ,
                    cAut      = cAut
                }
            });

            return(this);
        }