Created
March 17, 2017 10:12
-
-
Save otaviolarrosa/64c61c7281184707fd004ad653097917 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 física | |
/// </summary> | |
public class FaturamentoPessoaFisica : IFaturamentoFactory | |
{ | |
/// <summary> | |
/// Método responsável por realizar o faturamento de pessoas físicas em lote | |
/// </summary> | |
public IFaturamentoLote ProcessarFaturamentoLote() | |
{ | |
return new Faturamento920(); | |
} | |
/// <summary> | |
/// Método responsável por realizar o faturamento de pessoas físicas individualmente | |
/// </summary> | |
public IFaturamentoIndividual ProcessarFaturamentoIndividual() | |
{ | |
return new Faturamento921(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment