-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Suppress docs for CardResult deepLinkUrl. * Remove OrderRequest class that is no longer used. * Make ApproveOrderMetadata internal. * Make PaymentSource class internal. * Make additional classes internal that can be made internal. * Make ThreeDSecureResult private. * Move OrderIntent enum out of SDK and into Demo app. * Restrict analytics items to library group whenever possible. * Rename Error type to GraphQLError. * Rename Extension type to GraphQLExtension. * Update library restriction annotations and make GraphQL types library private. * Extract APIClientError codes into internal PayPalSDKErrorCode enum. * Add documentation suppression annotations for library restricted code. * Make Environment enum associated values internal. * Update restrict annotations. * Fix mockk errors that caused HttpResponseParserUnitTest to fail. * Mark CoreConfig magnesEnvironment extension internal. * Fix package name in PaymentButtons module. * Create PayPalWebCheckoutErrorCode type. * Update PayPalWeb restrictions. * Remove open modifier on PayPalSDKError class. * Restrict PayPalSDKError constructor to library group. * Remove SecureTokenServiceAPI.kt. * Remove Eligibility API files that are no longer used. * Flatten GraphQL package. * Fix detekt lint errors. * Remove unused eligibility query raw resource. * Update PayPalNativeViewModel to parse mxo errors. * Move CardResult into .cardpayments module. * Update PayPalSDKErrorCode type to make it visible for tests. * Fix lint errors. * Remove unecessary JSONObjectExt file. * Update CHANGELOG. * Cleanup unused classes. * Cleanup OrderIntent imports. * Revert NetworkModule deletion.
- Loading branch information
1 parent
51f5e4d
commit 73615bc
Showing
88 changed files
with
253 additions
and
729 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
1 change: 0 additions & 1 deletion
1
CardPayments/src/main/java/com/paypal/android/cardpayments/ApproveOrderListener.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
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
8 changes: 7 additions & 1 deletion
8
.../android/cardpayments/model/CardResult.kt → ...paypal/android/cardpayments/CardResult.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 |
---|---|---|
@@ -1,11 +1,17 @@ | ||
package com.paypal.android.cardpayments.model | ||
package com.paypal.android.cardpayments | ||
|
||
import android.net.Uri | ||
|
||
/** | ||
* A result returned by [CardClient] when an order was successfully approved with a [Card]. | ||
* | ||
* @property [orderId] associated order ID. | ||
*/ | ||
data class CardResult( | ||
val orderId: String, | ||
|
||
/** | ||
* @suppress | ||
*/ | ||
val deepLinkUrl: Uri? = null | ||
) |
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
5 changes: 0 additions & 5 deletions
5
CardPayments/src/main/java/com/paypal/android/cardpayments/OrderRequest.kt
This file was deleted.
Oops, something went wrong.
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
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
6 changes: 6 additions & 0 deletions
6
CorePayments/src/main/java/com/paypal/android/corepayments/APIRequest.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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
package com.paypal.android.corepayments | ||
|
||
import androidx.annotation.RestrictTo | ||
|
||
/** | ||
* @suppress | ||
*/ | ||
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) | ||
data class APIRequest(val path: String, val method: HttpMethod, val body: String? = null) |
5 changes: 5 additions & 0 deletions
5
CorePayments/src/main/java/com/paypal/android/corepayments/CoreCoroutineExceptionHandler.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
2 changes: 1 addition & 1 deletion
2
CorePayments/src/main/java/com/paypal/android/corepayments/Environment.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
6 changes: 6 additions & 0 deletions
6
CorePayments/src/main/java/com/paypal/android/corepayments/HttpMethod.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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
package com.paypal.android.corepayments | ||
|
||
import androidx.annotation.RestrictTo | ||
|
||
/** | ||
* @suppress | ||
*/ | ||
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) | ||
enum class HttpMethod { | ||
GET, POST | ||
} |
5 changes: 5 additions & 0 deletions
5
CorePayments/src/main/java/com/paypal/android/corepayments/HttpResponse.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
16 changes: 0 additions & 16 deletions
16
CorePayments/src/main/java/com/paypal/android/corepayments/JSONObjectExt.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.