diff --git a/iugu.net/Entity/CustomerModel.cs b/iugu.net/Entity/CustomerModel.cs index 547a80a..f869737 100644 --- a/iugu.net/Entity/CustomerModel.cs +++ b/iugu.net/Entity/CustomerModel.cs @@ -18,6 +18,10 @@ public class CustomerModel public string notes { get; set; } public string created_at { get; set; } public string updated_at { get; set; } - public List custom_variables { get; set; } + public List custom_variables { get; set; } + public string zip_code { get; set; } + public int number { get; set; } + public string complement { get; set; } + public string cpf_cnpj { get; set; } } } diff --git a/iugu.net/Entity/SubscriptionModel.cs b/iugu.net/Entity/SubscriptionModel.cs index 832fd19..6776603 100644 --- a/iugu.net/Entity/SubscriptionModel.cs +++ b/iugu.net/Entity/SubscriptionModel.cs @@ -53,6 +53,7 @@ public class SubscriptionSubitem public string price { get; set; } public string total { get; set; } public bool? recurrent { get; set; } + public bool? _destroy { get; set; } } public class SubscriptionLog diff --git a/iugu.net/Request/CustomerRequestMessage.cs b/iugu.net/Request/CustomerRequestMessage.cs index fe4662b..64ee5e1 100644 --- a/iugu.net/Request/CustomerRequestMessage.cs +++ b/iugu.net/Request/CustomerRequestMessage.cs @@ -42,5 +42,23 @@ public class CustomerRequestMessage [JsonProperty("custom_variables")] public List CustomVariables { get; set; } + /// + /// CEP do cliente + /// + [JsonProperty("zip_code")] + public string ZipCode { get; set; } + + /// + /// Número do endereço do cliente + /// + [JsonProperty("number")] + public int Number { get; set; } + + /// + /// Complemento do endereço + /// + [JsonProperty("complement")] + public string Complement { get; set; } + } }