-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PayPal: Remove Vault Listener Pattern (#308)
* Migrate PayPalWebCheckoutClient away from listener pattern. * Fix broken tests after migrating away from listener pattern. * Clean up lint errors. * Remove PayPalWebStatus type. * Remove obselete classes. * Update CHANGELOG. * Update documentation for PayPalWebCheckoutClient.
- Loading branch information
1 parent
4afcf91
commit 99bc477
Showing
14 changed files
with
155 additions
and
259 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
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
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
.../src/main/java/com/paypal/android/paypalwebpayments/PayPalWebCheckoutFinishVaultResult.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.paypal.android.paypalwebpayments | ||
|
||
import com.paypal.android.corepayments.PayPalSDKError | ||
|
||
sealed class PayPalWebCheckoutFinishVaultResult { | ||
|
||
class Success(val approvalSessionId: String) : PayPalWebCheckoutFinishVaultResult() | ||
class Failure(val error: PayPalSDKError) : PayPalWebCheckoutFinishVaultResult() | ||
data object Canceled : PayPalWebCheckoutFinishVaultResult() | ||
data object NoResult : PayPalWebCheckoutFinishVaultResult() | ||
} |
6 changes: 0 additions & 6 deletions
6
...WebPayments/src/main/java/com/paypal/android/paypalwebpayments/PayPalWebCheckoutResult.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.