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

Pp 732 ipc 320 ec 128 release candidates for bank capture health merchant #538

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions RELEASE-ORDER.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
DO NOT EDIT MANUALLY!
Automatically created by the updateReleaseOrderFile task.

Release order for :capture-sdk:sdk 3.11.0:
1. :capture-sdk:sdk 3.11.0
Release order for :capture-sdk:sdk 3.11.1:
1. :capture-sdk:sdk 3.11.1

Release order for :core-api-library:library 2.2.0:
1. :core-api-library:library 2.2.0
Release order for :core-api-library:library 2.2.1:
1. :core-api-library:library 2.2.1

Release order for :bank-api-library:library 3.2.0:
1. :core-api-library:library 2.2.0
2. :bank-api-library:library 3.2.0
Release order for :bank-api-library:library 3.2.1:
1. :core-api-library:library 2.2.1
2. :bank-api-library:library 3.2.1

Release order for :health-api-library:library 4.2.0:
1. :core-api-library:library 2.2.0
2. :health-api-library:library 4.2.0
Release order for :health-api-library:library 4.3.0:
1. :core-api-library:library 2.2.1
2. :health-api-library:library 4.3.0

Release order for :health-sdk:sdk 4.2.0:
1. :core-api-library:library 2.2.0
2. :health-api-library:library 4.2.0
3. :health-sdk:sdk 4.2.0
Release order for :health-sdk:sdk 4.3.0:
1. :core-api-library:library 2.2.1
2. :health-api-library:library 4.3.0
3. :health-sdk:sdk 4.3.0

Release order for :merchant-sdk:sdk 1.0.0:
1. :core-api-library:library 2.2.0
2. :health-api-library:library 4.2.0
1. :core-api-library:library 2.2.1
2. :health-api-library:library 4.3.0
3. :merchant-sdk:sdk 1.0.0

Release order for :capture-sdk:default-network 3.11.0:
1. :core-api-library:library 2.2.0
2. :bank-api-library:library 3.2.0
3. :capture-sdk:sdk 3.11.0
4. :capture-sdk:default-network 3.11.0

Release order for :bank-sdk:sdk 3.12.0:
1. :core-api-library:library 2.2.0
2. :bank-api-library:library 3.2.0
3. :capture-sdk:sdk 3.11.0
4. :capture-sdk:default-network 3.11.0
5. :bank-sdk:sdk 3.12.0
Release order for :capture-sdk:default-network 3.11.1:
1. :core-api-library:library 2.2.1
2. :bank-api-library:library 3.2.1
3. :capture-sdk:sdk 3.11.1
4. :capture-sdk:default-network 3.11.1

Release order for :bank-sdk:sdk 3.12.1:
1. :core-api-library:library 2.2.1
2. :bank-api-library:library 3.2.1
3. :capture-sdk:sdk 3.11.1
4. :capture-sdk:default-network 3.11.1
5. :bank-sdk:sdk 3.12.1

2 changes: 1 addition & 1 deletion bank-api-library/library/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-bank-api-lib
version=3.2.0
version=3.2.1
# Version code is visible only in the generated BuildConfig file
versionCode=0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build.gradle:
.. code-block:: groovy

dependencies {
implementation 'net.gini.android:gini-bank-api-lib:3.2.0'
implementation 'net.gini.android:gini-bank-api-lib:3.2.1'
}

Integrating the Gini Bank API Library
Expand Down
2 changes: 1 addition & 1 deletion bank-sdk/sdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-bank-sdk
version=3.12.0
version=3.12.1
# Version code is visible only in the generated BuildConfig file
versionCode=0

Expand Down
2 changes: 1 addition & 1 deletion capture-sdk/default-network/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-capture-sdk-default-network
version=3.11.0
version=3.11.1
# Version code is visible only in the generated BuildConfig file
versionCode=0

Expand Down
2 changes: 1 addition & 1 deletion capture-sdk/sdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-capture-sdk
version=3.11.0
version=3.11.1
# Version code is visible only in the generated BuildConfig file
versionCode=0

Expand Down
2 changes: 1 addition & 1 deletion core-api-library/library/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-internal-core-api-lib
version=2.2.0
version=2.2.1
# Version code is visible only in the generated BuildConfig file
versionCode=0

Expand Down
2 changes: 1 addition & 1 deletion health-api-library/library/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-health-api-lib
version=4.2.0
version=4.3.0
# Version code is visible only in the generated BuildConfig file
versionCode=0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build.gradle:
.. code-block:: groovy

dependencies {
implementation 'net.gini.android:gini-health-api-lib:4.2.0'
implementation 'net.gini.android:gini-health-api-lib:4.3.0'
}

Integrating the Gini Health API Library
Expand Down
2 changes: 1 addition & 1 deletion health-sdk/sdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maven coordinates
# groupId is in the root gradle.properties
artifactId=gini-health-sdk
version=4.2.0
version=4.3.0
# Version code is visible only in the generated BuildConfig file
versionCode=1000

Expand Down
2 changes: 1 addition & 1 deletion health-sdk/sdk/src/doc/source/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build.gradle:
.. code-block:: groovy

dependencies {
implementation 'net.gini.android:gini-health-sdk:4.2.0'
implementation 'net.gini.android:gini-health-sdk:4.3.0'
}

Gini Pay Deep Link For Your App
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import net.gini.android.merchant.sdk.integratedFlow.PaymentFlowConfiguration
import net.gini.android.merchant.sdk.integratedFlow.PaymentFragment
import net.gini.android.merchant.sdk.paymentcomponent.PaymentComponent
import net.gini.android.merchant.sdk.util.DisplayedScreen
import net.gini.android.merchant.sdk.util.toBackendFormat
import org.slf4j.LoggerFactory

/**
Expand Down Expand Up @@ -108,7 +109,15 @@ class GiniMerchant(
* @param flowConfiguration - optional parameter with the [PaymentFlowConfiguration]
*/
fun createFragment(iban: String, recipient: String, amount: String, purpose: String, flowConfiguration: PaymentFlowConfiguration? = null): PaymentFragment {
if (iban.isEmpty() || recipient.isEmpty() || amount.isEmpty() || purpose.isEmpty()) throw IllegalStateException("Payment details are incomplete.")
if (iban.isEmpty() || recipient.isEmpty() || amount.isEmpty() || purpose.isEmpty()) {
error("Payment details are incomplete.")
}

try {
amount.toBackendFormat()
} catch (e: NumberFormatException) {
error("Amount format is incorrect.")
}

val paymentDetails = PaymentDetails(
recipient = recipient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/gms_large"
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand Down