From ce66cac69a5f8ad55043ca6f2c167f215f1b220c Mon Sep 17 00:00:00 2001 From: kimberleehowley Date: Mon, 29 Jul 2024 15:22:01 -0700 Subject: [PATCH] Update docs to remove mid/ --- .../joinforage/forage/android/core/services/ForageConfig.kt | 4 ++-- .../forage/android/core/ui/element/ForageElement.kt | 2 +- .../forage/android/core/ui/element/ForagePanElement.kt | 2 +- .../joinforage/forage/android/ecom/services/ForageSDK.kt | 6 +++--- .../forage/android/ecom/ui/element/ForagePINEditText.kt | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/forage-android/src/main/java/com/joinforage/forage/android/core/services/ForageConfig.kt b/forage-android/src/main/java/com/joinforage/forage/android/core/services/ForageConfig.kt index 40257881..e3bd9f4e 100644 --- a/forage-android/src/main/java/com/joinforage/forage/android/core/services/ForageConfig.kt +++ b/forage-android/src/main/java/com/joinforage/forage/android/core/services/ForageConfig.kt @@ -7,8 +7,8 @@ package com.joinforage.forage.android.core.services * [setForageConfig][com.joinforage.forage.android.core.ui.element.ForagePanElement.setForageConfig] to * configure an Element. * - * @property merchantId A unique Merchant ID that Forage provides during onboarding - * onboarding preceded by "mid/". For example, `mid/123ab45c67`. + * @property merchantId A unique Merchant ID that Forage provides during onboarding, as in + * `123ab45c67`. * The Merchant ID can be found in the Forage [Sandbox](https://dashboard.sandbox.joinforage.app/login/) * or [Production](https://dashboard.joinforage.app/login/) Dashboard. * diff --git a/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForageElement.kt b/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForageElement.kt index 8569d18f..f4e20c42 100644 --- a/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForageElement.kt +++ b/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForageElement.kt @@ -16,7 +16,7 @@ internal interface DynamicEnvElement { * ) * foragePanEditText.setForageConfig( * ForageConfig( - * merchantId = "mid/", + * merchantId = "", * sessionToken = "" * ) * ) diff --git a/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForagePanElement.kt b/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForagePanElement.kt index 823b7d7f..d9b3a0ad 100644 --- a/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForagePanElement.kt +++ b/forage-android/src/main/java/com/joinforage/forage/android/core/ui/element/ForagePanElement.kt @@ -204,7 +204,7 @@ abstract class ForagePanElement @JvmOverloads constructor( * ) * foragePanEditText.setForageConfig( * ForageConfig( - * merchantId = "mid/", + * merchantId = "", * sessionToken = "" * ) * ) diff --git a/forage-android/src/main/java/com/joinforage/forage/android/ecom/services/ForageSDK.kt b/forage-android/src/main/java/com/joinforage/forage/android/ecom/services/ForageSDK.kt index 8c6e67bb..5425943d 100644 --- a/forage-android/src/main/java/com/joinforage/forage/android/ecom/services/ForageSDK.kt +++ b/forage-android/src/main/java/com/joinforage/forage/android/ecom/services/ForageSDK.kt @@ -76,7 +76,7 @@ class ForageSDK { * ```kotlin * // Example tokenizeEBTCard call in a TokenizeViewModel.kt * class TokenizeViewModel : ViewModel() { - * val merchantId = "mid/" + * val merchantId = "" * val sessionToken = "" * * fun tokenizeEBTCard(foragePanEditText: ForagePANEditText) = viewModelScope.launch { @@ -243,7 +243,7 @@ class ForageSDK { * // Example capturePayment call in a PaymentCaptureViewModel.kt * class PaymentCaptureViewModel : ViewModel() { * val snapPaymentRef = "s0alzle0fal" - * val merchantId = "mid/" + * val merchantId = "" * val sessionToken = "" * * fun capturePayment(foragePinEditText: ForagePINEditText, paymentRef: String) = @@ -337,7 +337,7 @@ class ForageSDK { * // Example deferPaymentCapture call in a DeferPaymentCaptureViewModel.kt * class DeferPaymentCaptureViewModel : ViewModel() { * val snapPaymentRef = "s0alzle0fal" - * val merchantId = "mid/" + * val merchantId = "" * val sessionToken = "" * * fun deferPaymentCapture(foragePinEditText: ForagePINEditText, paymentRef: String) = diff --git a/forage-android/src/main/java/com/joinforage/forage/android/ecom/ui/element/ForagePINEditText.kt b/forage-android/src/main/java/com/joinforage/forage/android/ecom/ui/element/ForagePINEditText.kt index 1064d6cc..3dee7d36 100644 --- a/forage-android/src/main/java/com/joinforage/forage/android/ecom/ui/element/ForagePINEditText.kt +++ b/forage-android/src/main/java/com/joinforage/forage/android/ecom/ui/element/ForagePINEditText.kt @@ -171,7 +171,7 @@ class ForagePINEditText @JvmOverloads constructor( * ) * foragePinEditText.setForageConfig( * ForageConfig( - * merchantId = "mid/", + * merchantId = "", * sessionToken = "" * ) * )