diff --git a/iugu.net/Request/InvoiceRequestMessage.cs b/iugu.net/Request/InvoiceRequestMessage.cs index db214e6..37b9cc8 100644 --- a/iugu.net/Request/InvoiceRequestMessage.cs +++ b/iugu.net/Request/InvoiceRequestMessage.cs @@ -119,6 +119,18 @@ public class InvoiceRequestMessage [JsonProperty("logs")] public Logs[] Logs { get; set; } + /// + /// (opcional) Ativa ou desativa o desconto por pagamento antecipado + /// + [JsonProperty("early_payment_discount")] + public bool EnableEarlyPaymentDiscount { get; set; } + + /// + /// (opcional) Quantidade de dias de antecedência para o pagamento receber o desconto + /// + [JsonProperty("early_payment_discounts")] + public EarlyPaymentDiscounts[] EarlyPaymentDiscounts { get; set; } + /// /// (opcional) Variáveis Personalizadas ///