コード例 #1
0
 protected Cliente(Nome nome, Endereco endereco, Email email,Cpf cpf)
 {
     this.nomeCompleto = nome;
     this.endereco = endereco;
     this.email = email;
     this.cpf = cpf;
 }
コード例 #2
0
 protected Cliente(Identidade id,Nome nome,Endereco endereco,Email email,Cpf cpf)
 {
     this.id = id;
     this.nomeCompleto = nome;
     this.endereco = endereco;
     this.email = email;
     this.cpf = cpf;
 }
コード例 #3
0
 public static Cliente of(Identidade id, Nome nome, Endereco endereco, Email email,Cpf cpf)
 {
     return new Cliente(id, nome, endereco, email,cpf);
 }
コード例 #4
0
 public static Cliente of(Nome nome, Endereco endereco, Email email, Cpf cpf)
 {
     return new Cliente(nome, endereco, email,cpf);
 }