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

External Interface Access Control #1155

Merged
merged 5 commits into from
Sep 16, 2024
Merged

Conversation

tdchow
Copy link
Collaborator

@tdchow tdchow commented Sep 13, 2024

Summary of changes

  • Updated class, function, and property access modifiers to reduce the external surface area of the SDK
  • Remove various unused functions and classes

Checklist

  • Added a changelog entry
  • Relevant test coverage

Authors

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

…al merchant interface and various other clean up.
* main:
  Update Google Pay Integration (#1153)
  Batch Analytics Events by Session ID (#1152)

# Conflicts:
#	BraintreeCore/src/main/java/com/braintreepayments/api/core/AnalyticsEventBlob.kt
#	GooglePay/src/main/java/com/braintreepayments/api/googlepay/GooglePayRequest.kt
@tdchow tdchow requested a review from a team as a code owner September 13, 2024 15:20
Comment on lines -244 to -259
// card.number = ""
// card.expirationDate = ""
// card.expirationMonth = ""
// card.expirationYear = ""
// card.cvv = ""
// card.postalCode = ""
// card.cardholderName = ""
// card.firstName = ""
// card.lastName = ""
// card.company = ""
// card.streetAddress = ""
// card.extendedAddress = ""
// card.locality = ""
// card.postalCode = ""
// card.region = ""
// card.countryCode = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is a typo that snuck in

Copy link
Contributor

Choose a reason for hiding this comment

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

➕ 1

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a comment that was removed in this PR. I think it was a stale comment that ended up getting merged in.

Comment on lines 164 to 166
GooglePayTokenizationParameters.Failure(
e
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick can we consolidate this onto one line?

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.

🎉

Comment on lines -244 to -259
// card.number = ""
// card.expirationDate = ""
// card.expirationMonth = ""
// card.expirationYear = ""
// card.cvv = ""
// card.postalCode = ""
// card.cardholderName = ""
// card.firstName = ""
// card.lastName = ""
// card.company = ""
// card.streetAddress = ""
// card.extendedAddress = ""
// card.locality = ""
// card.postalCode = ""
// card.region = ""
// card.countryCode = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

➕ 1

@tdchow tdchow merged commit 0136590 into main Sep 16, 2024
3 checks passed
@tdchow tdchow deleted the external-interface-access-control branch September 16, 2024 16:25
tdchow added a commit that referenced this pull request Oct 11, 2024
* main: (54 commits)
  Firebase App Distribution Branch (#1182)
  Fix lint warnings - replace kapt with ksp, remove unused properties and resources, added Intent extension functions for handling deprecated functions (#1181)
  [open dev] Cleanup integration tests (#1180)
  Update README and CHANGELOG (#1176)
  App link setup docs (#1171)
  Revert to Braintree Merchant Server (#1173)
  Prepare for development
  Release 5.0.0
  Remove BA toast from PatPal Fragment (#1172)
  [App Switch] Update CHANGELOG (#1166)
  Make pending request constructors public (#1169)
  [App Switch] Add analytic events (#1111)
  Fix 3DS Cancel (#1161)
  Fix `os_version` and `enablePayPalAppSwitch` (#1162)
  Fix analytic event timestamps (#1160)
  Rename handleReturnToAppFromBrowser to handleReturnToApp (#1158)
  Parse error messages from multiple possible fields in the error response (#1156)
  External Interface Access Control (#1155)
  Update Google Pay Integration (#1153)
  Batch Analytics Events by Session ID (#1152)
  ...

# Conflicts:
#	CHANGELOG.md
#	Demo/src/main/java/com/braintreepayments/demo/PayPalFragment.java
#	Demo/src/main/java/com/braintreepayments/demo/PayPalRequestFactory.java
#	Demo/src/main/res/layout/fragment_paypal.xml
#	PayPal/src/main/java/com/braintreepayments/api/paypal/PayPalRequest.kt
#	PayPal/src/main/java/com/braintreepayments/api/paypal/PayPalVaultRequest.kt
#	PayPal/src/test/java/com/braintreepayments/api/paypal/PayPalVaultRequestUnitTest.java
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