diff --git a/Examples/Example-Java/app/build.gradle b/Examples/Example-Java/app/build.gradle index 7f711b3..7f1fbdb 100644 --- a/Examples/Example-Java/app/build.gradle +++ b/Examples/Example-Java/app/build.gradle @@ -37,7 +37,7 @@ android { } dependencies { - implementation 'com.izettle.payments:android-sdk-ui:1.32.0' + implementation 'com.izettle.payments:android-sdk-ui:1.34.3' implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' diff --git a/Examples/Example-Java/app/src/main/java/com/izettle/payments/android/java_example/CardReaderActivity.java b/Examples/Example-Java/app/src/main/java/com/izettle/payments/android/java_example/CardReaderActivity.java index 85c6085..1a6d55c 100644 --- a/Examples/Example-Java/app/src/main/java/com/izettle/payments/android/java_example/CardReaderActivity.java +++ b/Examples/Example-Java/app/src/main/java/com/izettle/payments/android/java_example/CardReaderActivity.java @@ -160,6 +160,7 @@ public void onSuccess(CardPaymentPayload payload) { .cardPayment(payload) .receiptNumber("#123456") .taxAmount(amount) + .refundAmount(amount) .reference(reference) .build(); diff --git a/Examples/Example-Kotlin/app/build.gradle b/Examples/Example-Kotlin/app/build.gradle index d718e09..3131fcc 100644 --- a/Examples/Example-Kotlin/app/build.gradle +++ b/Examples/Example-Kotlin/app/build.gradle @@ -42,7 +42,7 @@ android { } dependencies { - implementation 'com.izettle.payments:android-sdk-ui:1.32.0' + implementation 'com.izettle.payments:android-sdk-ui:1.34.3' implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.1.0'