jaymedavis/stripe.net — Issue #19: Invoice Items
Author: mmnunley
Created: 2012-02-29 13:04:11+00:00
State: open

On the section to create invoice items, there is one option missing from the assembly. The "invoice" option is missing which gives you the ability to add an invoice item to an invoice that has already been created. What would be the chances of adding the one line: (the invoice here - I think this would give the option to send the invoice ID back to Stripe)

namespace Stripe
{
public class StripeInvoiceItemCreateOptions
{
public StripeInvoiceItemCreateOptions();

[JsonProperty("amount")]
public int AmountInCents { get; set; }
[JsonProperty("currency")]
public string Currency { get; set; }
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("invoice")]
public string Invoice{ get; set; }
}
}

By the way, this is an awesome library. Thanks for putting it together.