Created
March 17, 2017 10:13
-
-
Save otaviolarrosa/fae6b53f69ce20345f5b547d6932b3f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Patterns.AbstractFactory.Faturamentos; | |
using Patterns.AbstractFactory.Interfaces; | |
namespace Patterns.AbstractFactory.Factories | |
{ | |
/// <summary> | |
/// Classe responsável por realizar o faturamento de pessoa jurídica | |
/// </summary> | |
public class FaturamentoPessoaJuridica : IFaturamentoFactory | |
{ | |
/// <summary> | |
/// Método responsável por realizar o faturamento de pessoas jurídicas em lote | |
/// </summary> | |
public IFaturamentoLote ProcessarFaturamentoLote() | |
{ | |
return new Faturamento640(); | |
} | |
/// <summary> | |
/// Método responsável por realizar o faturamento de pessoas jurídicas em individualmente | |
/// </summary> | |
public IFaturamentoIndividual ProcessarFaturamentoIndividual() | |
{ | |
return new Faturamento641(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment