com.google.android.gms.wallet.contract
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[],["The content outlines several classes for handling task results within the Google Wallet API. `ApiTaskResult` represents the outcome of a `Task`. `TaskResultContracts` offers contracts to resolve `Task` objects. Specific contracts include: `GetApiTaskResult`, which yields an `ApiTaskResult`; `GetPaymentData`, returning `PaymentData`; `GetPaymentDataResult`, a wrapper around `PaymentData` and task details; `ResolveApiTaskResult`, for converting a `Task` to a result; and `UnpackApiTaskResult`, for retrieving a `Task` result if successful.\n"],null,[]]