Skip to content

Commit

Permalink
Merge pull request #68 from iugu/develop
Browse files Browse the repository at this point in the history
Adiciona propriedades de desconto pontualidade em requisição de fatura
  • Loading branch information
rscouto authored Sep 12, 2017
2 parents d744918 + acda68f commit 131d48a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions iugu.net/Request/InvoiceRequestMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ public class InvoiceRequestMessage
[JsonProperty("logs")]
public Logs[] Logs { get; set; }

/// <summary>
/// (opcional) Ativa ou desativa o desconto por pagamento antecipado
/// </summary>
[JsonProperty("early_payment_discount")]
public bool EnableEarlyPaymentDiscount { get; set; }

/// <summary>
/// (opcional) Quantidade de dias de antecedência para o pagamento receber o desconto
/// </summary>
[JsonProperty("early_payment_discounts")]
public EarlyPaymentDiscounts[] EarlyPaymentDiscounts { get; set; }

/// <summary>
/// (opcional) Variáveis Personalizadas
/// </summary>
Expand Down

0 comments on commit 131d48a

Please sign in to comment.