Skip to content

Commit

Permalink
🎨 Remove _ da propriedade destroy em invoice model
Browse files Browse the repository at this point in the history
  • Loading branch information
rscouto committed Dec 8, 2017
1 parent 97ed777 commit 6a2256d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iugu.net/Entity/InvoiceModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using Newtonsoft.Json;

namespace iugu.net.Entity
{
Expand Down Expand Up @@ -61,7 +62,8 @@ public class Item
public string created_at { get; set; }
public string updated_at { get; set; }
public string price { get; set; }
public bool? _destroy { get; set; }
[JsonProperty("_destroy")]
public bool destroy { get; set; }
}

// TODO: Precisa de refatoração, nomes fora do padrão .Net, sem documentação também
Expand Down

0 comments on commit 6a2256d

Please sign in to comment.