Skip to content

Commit

Permalink
Merge pull request #583 from stripe/joeydong/moreSources
Browse files Browse the repository at this point in the history
Add support for EPS and Multibanco SourceParams creation
  • Loading branch information
joeydong-stripe authored Jun 11, 2018
2 parents 128029f + c028ea6 commit 5a0ac68
Show file tree
Hide file tree
Showing 7 changed files with 278 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android:
- tools
- platform-tools
- tools
- build-tools-26.0.2
- build-tools-27.0.3
- android-27
- extra-google-google_play_services
- extra-google-m2repository
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Add EPS and Multibanco support to `SourceParams` (https://github.com/stripe/stripe-android/pull/583)

7.0.1 2018-05-25
Make iDEAL params match API - `name` is optional and optional ideal `bank` and `statement_descriptor` can be set independently

Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.1'
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
}
}

task wrapper(type: Wrapper) {
gradleVersion = '4.3'
gradleVersion = '4.4'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}

allprojects {
group = GROUP

repositories {
jcenter()
google()
jcenter()
}

task checkstyle(type: Checkstyle) {
Expand All @@ -39,7 +39,7 @@ allprojects {
}

ext {
buildToolsVersion = "26.0.2"
buildToolsVersion = "27.0.3"
compileSdkVersion = 27
supportLibVersion = "27.1.0"

Expand Down
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Thu Jun 07 15:12:23 PDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
2 changes: 2 additions & 0 deletions stripe/src/main/java/com/stripe/android/model/Source.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public class Source extends StripeJsonModel implements StripePaymentSource {
public static final String SOFORT = "sofort";
public static final String BANCONTACT = "bancontact";
public static final String P24 = "p24";
public static final String EPS = "eps";
public static final String MULTIBANCO = "multibanco";
public static final String UNKNOWN = "unknown";

public static final Set<String> MODELED_TYPES = new HashSet<>();
Expand Down
Loading

0 comments on commit 5a0ac68

Please sign in to comment.