-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISPIBR-163] Atualizar demo app publico com alterações de Afecto y Ex…
…ento (#65) * [ISPIBR-163] - faz o bump do sdk para 4.1.0 e adiciona sample de tax * [ISPIBR-163] - reverte alteração desncessária * [ISPIBR-163] - upgrade na versão do sdk 4.1.1
- Loading branch information
1 parent
ead29cc
commit 794c7e8
Showing
12 changed files
with
95 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ava/com/mercadolibre/android/point_mainapp_demo/app/view/payment/models/PayerCondition.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.mercadolibre.android.point_mainapp_demo.app.view.payment.models | ||
|
||
import com.mercadolibre.android.point_integration_sdk.nativesdk.payment.data.PayerCondition | ||
import com.mercadolibre.android.point_integration_sdk.nativesdk.payment.data.Tax | ||
|
||
internal typealias PayerConditionString = String | ||
|
||
internal fun PayerConditionString.toTaxes() = PayerCondition.fromString(this) | ||
?.let { payerCondition -> | ||
listOf(Tax(payerCondition)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
app/src/main/res/layout/point_mainapp_demo_app_item_spinner.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.appcompat.widget.AppCompatTextView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
style="?attr/spinnerDropDownItemStyle" | ||
android:layout_width="match_parent" | ||
android:layout_height="?attr/dropdownListPreferredItemHeight" | ||
android:textColor="@color/secondaryTextColor" | ||
tools:text="text" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters