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

Cleanup helpers #364

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Cleanup helpers #364

merged 2 commits into from
Sep 10, 2024

Conversation

Pimm
Copy link
Collaborator

@Pimm Pimm commented Sep 10, 2024

This PR removes deprecated helpers from MandateHelper, OnboardingHelper, PaymentHelper, ProfileHelper, RefundHelper, and SubscriptionHelper. These are functions with no or very little logic in them and can be easily avoided:

-if (payment.isOpen()) {
+if (payment.status == PaymentStatus.open) {

The functions were deprecated in eb0abd2. I believe including them in the API produces more noise than convenience.

…ntHelper, ProfileHelper, RefundHelper, SubscriptionHelper.

These are functions with no or very little logic in them. I believe including them in the API adds more noise than convenience.
@Pimm Pimm merged commit e4466f3 into master Sep 10, 2024
5 checks passed
@Pimm Pimm deleted the pimm/helper-cleanup branch September 10, 2024 14:06
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.

2 participants