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

Subscription timeframe changes #419

Merged
merged 1 commit into from
Oct 21, 2019
Merged

Conversation

bhelx
Copy link
Contributor

@bhelx bhelx commented Aug 19, 2019

Subscription#update, Subscription#preview and Subscription#cancel
have changes in the timeframe parameters.

Subscription#update and Subscription#preview have been updated to no longer accept the "renewal" value for timeframe. This will
continue to work but is deprecated which means Subscription#updateAtRenewal is also deprecated. Instead, merchants will be able to send a timeframe value of "bill_date" or "term_end".
These timeframes are aligned to "current_period_ends_at" and "current_term_ends_at", respectively.

Subscription#cancel has been updated to optionally accept the "timeframe" parameter. It accepts values of "bill_date" or "term_end".

Subscription#update, Subscription#preview and Subscription#cancel
have changes in the timeframe parameters.

Subscription#update and Subscription#preview have been updated to no longer accept the "renewal" value for timeframe. This will
continue to work but is deprecated. Instead, merchants will be able to send timeframes of "bill_date" or "term_end".
These timeframes are aligned to "current_period_ends_at" and "current_term_ends_at", respectively.

Subscription#cancel has been updated to optionally accept the "timeframe" parameter. It accepts values of "bill_date" or "term_end".
@bhelx bhelx requested a review from csmb August 19, 2019 20:24
@bhelx bhelx added the WIP label Aug 21, 2019
@bhelx bhelx requested review from joannasese and removed request for csmb October 18, 2019 22:15
@bhelx bhelx changed the base branch from api_version_2_22 to master October 18, 2019 22:15
@joannasese joannasese removed the WIP label Oct 21, 2019
@joannasese joannasese merged commit 440176f into master Oct 21, 2019
@joannasese joannasese deleted the terms_timeframe_enum_change branch October 21, 2019 15:15
@joannasese joannasese mentioned this pull request Oct 22, 2019
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants