-
Notifications
You must be signed in to change notification settings - Fork 368
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 changes related to API version 2018-08-23 #577
Conversation
* @deprecated Prefer using the {@code unitAmount} attribute instead. | ||
* @see <a href="https://stripe.com/docs/upgrades#2018-08-23">API version 2018-08-23</a> | ||
*/ | ||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this attribute really deprecated? It's still present in the API reference: https://stripe.com/docs/api#plan_object-amount
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is actively deprecated since we shipped unit_amount
. We're renaming amount because we are going to ship another type of amount property and we wanted to to avoid the confusion.
TL;DR: yep, the docs are incorrect I suppose
Can you flag the |
f81d8af
to
a92d832
Compare
@ob-stripe done PTAL |
* @deprecated Prefer using the {@link #taxInfo} attribute instead. | ||
* @see <a href="https://stripe.com/docs/upgrades#2018-08-23">API version 2018-08-23</a> | ||
*/ | ||
String businessVatId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to annotate the attribute itself with @Deprecated
.
* add support for `tax_info` and `tax_info_verification` on Customer * add support for `unit_amount` on Tier and deprecate `amount`
959d817
to
d91c056
Compare
@ob-stripe updated, sorry for the back and forth. PTAL |
Released as 6.8.0. |
This adds changes related to the latest API version and new properties introduced
tax_info
andtax_info_verification
on Customerunit_amount
on Tier and deprecateamount
r? @ob-stripe
cc @stripe/api-libraries