From f84b368f62ba9a108d8bcf15ce0b15dae7950099 Mon Sep 17 00:00:00 2001 From: AlexDLL31 Date: Thu, 16 Oct 2025 20:33:29 +0200 Subject: [PATCH] CUS-655 Update Android SDK documentation. Add missing currency parameter on tipAdjustment transaction --- android/androidtransactions.md | 3 ++- .../version-Android SDK 7.1008.1/androidtransactions.md | 3 ++- .../version-Android SDK 7.1008.3/androidtransactions.md | 3 ++- .../version-Android SDK 7.1008.4/androidtransactions.md | 3 ++- .../version-Android SDK 7.1008.5/androidtransactions.md | 3 ++- .../version-Android SDK 7.1008.6/androidtransactions.md | 3 ++- .../version-Android SDK 7.1009.5/androidtransactions.md | 3 ++- .../version-Android SDK 7.1010.1/androidtransactions.md | 3 ++- .../version-Android SDK 7.1010.2/androidtransactions.md | 3 ++- .../version-Android SDK 7.1010.3/androidtransactions.md | 3 ++- .../version-Android SDK 7.1010.5/androidtransactions.md | 3 ++- 11 files changed, 22 insertions(+), 11 deletions(-) diff --git a/android/androidtransactions.md b/android/androidtransactions.md index dab62b1..7aa3121 100644 --- a/android/androidtransactions.md +++ b/android/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1008.1/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1008.1/androidtransactions.md index dab62b1..7aa3121 100644 --- a/android_versioned_docs/version-Android SDK 7.1008.1/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1008.1/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1008.3/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1008.3/androidtransactions.md index dab62b1..7aa3121 100644 --- a/android_versioned_docs/version-Android SDK 7.1008.3/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1008.3/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1008.4/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1008.4/androidtransactions.md index dab62b1..7aa3121 100644 --- a/android_versioned_docs/version-Android SDK 7.1008.4/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1008.4/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1008.5/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1008.5/androidtransactions.md index dab62b1..7aa3121 100644 --- a/android_versioned_docs/version-Android SDK 7.1008.5/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1008.5/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1008.6/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1008.6/androidtransactions.md index dab62b1..7aa3121 100644 --- a/android_versioned_docs/version-Android SDK 7.1008.6/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1008.6/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1009.5/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1009.5/androidtransactions.md index 59744d3..806c3ab 100644 --- a/android_versioned_docs/version-Android SDK 7.1009.5/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1009.5/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1010.1/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1010.1/androidtransactions.md index a074b1e..7df8589 100644 --- a/android_versioned_docs/version-Android SDK 7.1010.1/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1010.1/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1010.2/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1010.2/androidtransactions.md index a074b1e..7df8589 100644 --- a/android_versioned_docs/version-Android SDK 7.1010.2/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1010.2/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1010.3/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1010.3/androidtransactions.md index a074b1e..7df8589 100644 --- a/android_versioned_docs/version-Android SDK 7.1010.3/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1010.3/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io()) diff --git a/android_versioned_docs/version-Android SDK 7.1010.5/androidtransactions.md b/android_versioned_docs/version-Android SDK 7.1010.5/androidtransactions.md index a074b1e..7df8589 100644 --- a/android_versioned_docs/version-Android SDK 7.1010.5/androidtransactions.md +++ b/android_versioned_docs/version-Android SDK 7.1010.5/androidtransactions.md @@ -645,6 +645,7 @@ The code example provided depends on RxJava, take a look a their documentation t | Parameter | Notes | | ----------- | ----------- | | `tipAmount` Required
*BigDecimal* | Tip amount added to the original (base) transaction amount - in the minor unit of currency (f.ex. 1000 is 10.00 GBP)| +| `currency` Required
*ENUM* | Currency of the original transaction | | `originalTransactionID` Required
*String* | Unique id of the original sale transaction as received from the card reader (EFTTransactionID)| **Code example** @@ -653,7 +654,7 @@ The code example provided depends on RxJava, take a look a their documentation t Observable.fromCallable(new Callable() { @Override public FinancialStatus call() throws Exception { - return api.tipAdjustment(new BigDecimal(1000), "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); + return api.tipAdjustment(new BigDecimal(1000), currency.GBP, "2bc23910-c3b3-11e6-9e62-07b2a5f091ec"); } }) .subscribeOn(Schedulers.io())