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

Add support for EPS and Multibanco SourceParams creation #583

Merged
merged 6 commits into from
Jun 11, 2018

Conversation

joeydong-stripe
Copy link
Contributor

@joeydong-stripe joeydong-stripe commented Jun 7, 2018

  • Add createEPSParams and createMultibancoParams methods to SourceParams class
  • Some function documentation cleanup to be more informational and consistent. See individual commits.

@joeydong-stripe joeydong-stripe self-assigned this Jun 7, 2018
@joeydong-stripe joeydong-stripe force-pushed the joeydong/moreSources branch 7 times, most recently from 2844ade to 042255c Compare June 7, 2018 23:51
@NonNull String name,
@Nullable String email,
@Nullable String name,
@NonNull String email,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Switched to match what's documented at https://stripe.com/docs/sources/p24. I should investigate, was this initially a typo?

Copy link
Contributor Author

@joeydong-stripe joeydong-stripe Jun 8, 2018

Choose a reason for hiding this comment

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

Probably a typo but maybe need to investigate our API Docs to see if the optionality switched recently.

#411

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ksun-stripe does this change in nullability cause a loud error breaking change for our users? if so, that's desirable.

Choose a reason for hiding this comment

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

It wouldn't be super loud. The nullability is used more in tooling - if it shows up, it should be more as a warning in the tools. It will be louder in Kotlin codebases.

@joeydong-stripe joeydong-stripe force-pushed the joeydong/moreSources branch 2 times, most recently from b73ff64 to 945ee29 Compare June 8, 2018 16:37
@joeydong-stripe joeydong-stripe changed the title [WIP] Add support for EPS and Multibanco SourceParams creation Add support for EPS and Multibanco SourceParams creation Jun 8, 2018
- The `dexcount-gradle-plugin`: 0.8.2 is required for the SDK to build with the latest Android Studio version
- The gradle version needs to be update to date in order for ^ to build
- The `google()` re-ordering is needed in order for ^ to build https://developer.android.com/studio/releases/gradle-plugin
@joeydong-stripe joeydong-stripe changed the title Add support for EPS and Multibanco SourceParams creation [WIP] Add support for EPS and Multibanco SourceParams creation Jun 8, 2018
@joeydong-stripe joeydong-stripe changed the title [WIP] Add support for EPS and Multibanco SourceParams creation Add support for EPS and Multibanco SourceParams creation Jun 8, 2018
@joeydong-stripe joeydong-stripe removed their assignment Jun 8, 2018
@joeydong-stripe
Copy link
Contributor Author

r? @ksun-stripe

Copy link

@ksun-stripe ksun-stripe left a comment

Choose a reason for hiding this comment

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

Nice!!! Thanks for doing this (and improving up all the docs!

@@ -1,6 +1,7 @@
package com.stripe.android.model;

import android.support.annotation.NonNull;
import android.util.Log;

Choose a reason for hiding this comment

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

Nit: I think this is probably a hold over?

FYI - Log is for Android logcat when you're running code on an Android device. You'll want system.out.print if you want to see logs appear from the tests.
Android Studio also has an optimize imports setting that will do it on the fly for you:
"Settings->Editor->Auto Import->Optimize Imports on the fly"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah nice, yeah it was leftover while I was debugging a test failure

@stripe-ci stripe-ci removed the approved label Jun 8, 2018
@joeydong-stripe joeydong-stripe merged commit 5a0ac68 into master Jun 11, 2018
@mshafrir-stripe mshafrir-stripe deleted the joeydong/moreSources branch January 24, 2019 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants