-
Notifications
You must be signed in to change notification settings - Fork 237
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
SEPA Direct Debit Single Result Object Pattern #855
Conversation
...ctDebit/src/main/java/com/braintreepayments/api/SEPADirectDebitPaymentAuthRequestParams.java
Show resolved
Hide resolved
* if you must continue the SEPA mandate web flow via | ||
* {@link SEPADirectDebitLauncher#launch(FragmentActivity, SEPADirectDebitPaymentAuthRequest.ReadyToLaunch)} | ||
*/ | ||
public class SEPADirectDebitPaymentAuthRequestParams { |
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.
QQ: I see that most of the newly created files are in kotlin. Any reason this is an exception?
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.
Ah this file isn't actually new it was renamed from the previous SEPADirectDebitPaymentAuthRequest class (which is replaced by the new Kotlin sealed class in this PR). We are slowly migrating to Kotlin, so have been trying to add new files in Kotlin and convert small interfaces, but I didn't refactor this one into Kotlin yet.
*/ | ||
public interface SEPADirectDebitTokenizeCallback { | ||
public interface SEPADirectDebitInternalTokenizeCallback { |
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.
What's the significance of the word internal
?
We still expose this callback to the merchant, don't we?
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.
Ah whoops that should have been made package-private - updated!
SEPADirectDebit/src/test/java/com/braintreepayments/api/SEPADirectDebitClientUnitTest.java
Outdated
Show resolved
Hide resolved
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.
…rectDebitClientUnitTest.java Co-authored-by: saperi22 <[email protected]>
Summary of changes
Checklist
Authors