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

Expose paymentId #1220

Merged
merged 7 commits into from
Nov 21, 2024
Merged

Expose paymentId #1220

merged 7 commits into from
Nov 21, 2024

Conversation

saperi22
Copy link
Contributor

@saperi22 saperi22 commented Nov 20, 2024

Summary of changes

Checklist

  • Added a changelog entry
  • Relevant test coverage
  • Tested and confirmed payment flows affected by this change are functioning as expected

Authors

List GitHub usernames for everyone who contributed to this pull request.

@saperi22 saperi22 requested a review from a team as a code owner November 20, 2024 22:10
@@ -10,7 +9,6 @@ import com.braintreepayments.api.BrowserSwitchOptions
* @property approvalUrl used for payment approval.
* @property paymentId of the local payment after creation.
*/
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to restrict individual params to library scope? It would be good to keep as much internal as possible to avoid future breaking changes. I think browserSwitchOptions does not need to be accessible if it can be internal.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarahkoop restricted the property browserSwitchOptions.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@sarahkoop sarahkoop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One CHANGELOG nitpick then LGTM

Co-authored-by: Sarah Koop <[email protected]>
@saperi22 saperi22 merged commit bafeda7 into main Nov 21, 2024
3 checks passed
@saperi22 saperi22 deleted the expose-payment-id branch November 21, 2024 22:14
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