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

[TW-700] Remove mid/ from Android online-only SDK docs #297

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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal interface DynamicEnvElement {
* )
* foragePanEditText.setForageConfig(
* ForageConfig(
* merchantId = "mid/<merchant_id>",
* merchantId = "<merchant_id>",
* sessionToken = "<session_token>"
* )
* )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ abstract class ForagePanElement @JvmOverloads constructor(
* )
* foragePanEditText.setForageConfig(
* ForageConfig(
* merchantId = "mid/<merchant_id>",
* merchantId = "<merchant_id>",
* sessionToken = "<session_token>"
* )
* )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ForageSDK {
* ```kotlin
* // Example tokenizeEBTCard call in a TokenizeViewModel.kt
* class TokenizeViewModel : ViewModel() {
* val merchantId = "mid/<merchant_id>"
* val merchantId = "<merchant_id>"
* val sessionToken = "<session_token>"
*
* fun tokenizeEBTCard(foragePanEditText: ForagePANEditText) = viewModelScope.launch {
Expand Down Expand Up @@ -243,7 +243,7 @@ class ForageSDK {
* // Example capturePayment call in a PaymentCaptureViewModel.kt
* class PaymentCaptureViewModel : ViewModel() {
* val snapPaymentRef = "s0alzle0fal"
* val merchantId = "mid/<merchant_id>"
* val merchantId = "<merchant_id>"
* val sessionToken = "<session_token>"
*
* fun capturePayment(foragePinEditText: ForagePINEditText, paymentRef: String) =
Expand Down Expand Up @@ -337,7 +337,7 @@ class ForageSDK {
* // Example deferPaymentCapture call in a DeferPaymentCaptureViewModel.kt
* class DeferPaymentCaptureViewModel : ViewModel() {
* val snapPaymentRef = "s0alzle0fal"
* val merchantId = "mid/<merchant_id>"
* val merchantId = "<merchant_id>"
* val sessionToken = "<session_token>"
*
* fun deferPaymentCapture(foragePinEditText: ForagePINEditText, paymentRef: String) =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class ForagePINEditText @JvmOverloads constructor(
* )
* foragePinEditText.setForageConfig(
* ForageConfig(
* merchantId = "mid/<merchant_id>",
* merchantId = "<merchant_id>",
* sessionToken = "<session_token>"
* )
* )
Expand Down
Loading