Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add support for multiple coupons on Billing APIs #1136

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

remi-stripe
Copy link
Contributor

@remi-stripe remi-stripe commented Jul 18, 2020

Add support for multiple coupons on Billing APIs

  • Add support for arrays of expandable API resources otherwise returning an array of strings by default
  • Add custom deserialization to Discount to support expansion of the object
  • Add support for Id, Invoice and InvoiceItem on Discount.
  • Add support for Discounts on Invoice, InvoiceItem and InvoiceLineItem
  • Add support for DiscountAmounts on CreditNote, CreditNoteLineItem, InvoiceLineItem
  • Add support for TotalDiscountAmounts on Invoice
  • Add Object to Invoice, InvoiceLine, Discount and Coupon

r? @richardm-stripe
cc @stripe/api-libraries

@CLAassistant
Copy link

CLAassistant commented Jul 21, 2020

CLA assistant check
All committers have signed the CLA.

@remi-stripe remi-stripe changed the title [WIP] Add support for multiple coupons on Billing APIs Add support for multiple coupons on Billing APIs Jul 29, 2020
@remi-stripe remi-stripe merged commit 6474dc7 into master Jul 29, 2020
@remi-stripe remi-stripe deleted the remi-stackable-coupons branch July 29, 2020 15:39
nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
* Add enum for proration behavior

* Added end behavior enum and called constants in code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants