Example #1
0
 /// <summary>
 /// Create a new pedidos object.
 /// </summary>
 /// <param name="pedidoId">Initial value of the PedidoId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="desconto">Initial value of the Desconto property.</param>
 /// <param name="valorTotal">Initial value of the ValorTotal property.</param>
 /// <param name="valorFrete">Initial value of the ValorFrete property.</param>
 /// <param name="valorProdutos">Initial value of the ValorProdutos property.</param>
 /// <param name="formaPagId">Initial value of the FormaPagId property.</param>
 /// <param name="entregaNome">Initial value of the EntregaNome property.</param>
 /// <param name="entregaCep">Initial value of the EntregaCep property.</param>
 /// <param name="entregaCidade">Initial value of the EntregaCidade property.</param>
 /// <param name="entregaEndereco1">Initial value of the EntregaEndereco1 property.</param>
 /// <param name="cobrancaCep">Initial value of the CobrancaCep property.</param>
 /// <param name="cobrancaCidade">Initial value of the CobrancaCidade property.</param>
 /// <param name="cobrancaEndereco1">Initial value of the CobrancaEndereco1 property.</param>
 /// <param name="cobrancaNome">Initial value of the CobrancaNome property.</param>
 /// <param name="cpf">Initial value of the Cpf property.</param>
 /// <param name="diferencaPontos">Initial value of the DiferencaPontos property.</param>
 /// <param name="notificacaoCobranca">Initial value of the NotificacaoCobranca property.</param>
 /// <param name="notificacaoBoleto2">Initial value of the NotificacaoBoleto2 property.</param>
 /// <param name="tipoPessoa">Initial value of the TipoPessoa property.</param>
 /// <param name="notificacaoNfe">Initial value of the NotificacaoNfe property.</param>
 /// <param name="analiseFraude">Initial value of the AnaliseFraude property.</param>
 /// <param name="fraudulento">Initial value of the Fraudulento property.</param>
 /// <param name="bonusPontosBoleto">Initial value of the BonusPontosBoleto property.</param>
 /// <param name="bonusPontosBoletoCreditado">Initial value of the BonusPontosBoletoCreditado property.</param>
 public static pedidos Createpedidos(global::System.Int32 pedidoId, global::System.Int32 userId, global::System.String status, global::System.DateTime dataIns, global::System.Decimal desconto, global::System.Decimal valorTotal, global::System.Decimal valorFrete, global::System.Decimal valorProdutos, global::System.Int32 formaPagId, global::System.String entregaNome, global::System.String entregaCep, global::System.String entregaCidade, global::System.String entregaEndereco1, global::System.String cobrancaCep, global::System.String cobrancaCidade, global::System.String cobrancaEndereco1, global::System.String cobrancaNome, global::System.String cpf, global::System.Decimal diferencaPontos, global::System.Byte notificacaoCobranca, global::System.Byte notificacaoBoleto2, global::System.String tipoPessoa, global::System.Byte notificacaoNfe, global::System.String analiseFraude, global::System.Byte fraudulento, global::System.Int32 bonusPontosBoleto, global::System.Int32 bonusPontosBoletoCreditado)
 {
     pedidos pedidos = new pedidos();
     pedidos.PedidoId = pedidoId;
     pedidos.UserId = userId;
     pedidos.Status = status;
     pedidos.DataIns = dataIns;
     pedidos.Desconto = desconto;
     pedidos.ValorTotal = valorTotal;
     pedidos.ValorFrete = valorFrete;
     pedidos.ValorProdutos = valorProdutos;
     pedidos.FormaPagId = formaPagId;
     pedidos.EntregaNome = entregaNome;
     pedidos.EntregaCep = entregaCep;
     pedidos.EntregaCidade = entregaCidade;
     pedidos.EntregaEndereco1 = entregaEndereco1;
     pedidos.CobrancaCep = cobrancaCep;
     pedidos.CobrancaCidade = cobrancaCidade;
     pedidos.CobrancaEndereco1 = cobrancaEndereco1;
     pedidos.CobrancaNome = cobrancaNome;
     pedidos.Cpf = cpf;
     pedidos.DiferencaPontos = diferencaPontos;
     pedidos.NotificacaoCobranca = notificacaoCobranca;
     pedidos.NotificacaoBoleto2 = notificacaoBoleto2;
     pedidos.TipoPessoa = tipoPessoa;
     pedidos.NotificacaoNfe = notificacaoNfe;
     pedidos.AnaliseFraude = analiseFraude;
     pedidos.Fraudulento = fraudulento;
     pedidos.BonusPontosBoleto = bonusPontosBoleto;
     pedidos.BonusPontosBoletoCreditado = bonusPontosBoletoCreditado;
     return pedidos;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the pedidos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopedidos(pedidos pedidos)
 {
     base.AddObject("pedidos", pedidos);
 }