Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add InvoiceLineItem class #452

Merged
merged 1 commit into from
Jul 25, 2018
Merged

Add InvoiceLineItem class #452

merged 1 commit into from
Jul 25, 2018

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe @remi-stripe
cc @stripe/api-libraries @jleclanche

Adds an InvoiceLineItem class for invoice line items. The class derives from StripeObject instead of ApiResource as there are no API methods (similar to e.g. SourceTransaction).

Added a basic deserialization test.

Opportunistically added some tests for InvoiceItem, because apparently we didn't have any.

Fixes #451.

@ob-stripe ob-stripe force-pushed the ob-invoice-line-item branch from faf7047 to 49ce0d5 Compare July 25, 2018 09:35
@brandur-stripe
Copy link
Contributor

Opportunistically added some tests for InvoiceItem, because apparently we didn't have any.

Nice!!

LGTM.

@ob-stripe ob-stripe merged commit ef528fe into master Jul 25, 2018
@ob-stripe ob-stripe deleted the ob-invoice-line-item branch July 25, 2018 12:22
@ob-stripe
Copy link
Contributor Author

Released as 2.1.0.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants