Package-level declarations

Types

Link copied to clipboard
data class AnalyticsEventBlob(val jsonString: String, val id: Long = 0)

Store Analytics as a JSON string. The schema of the Analytics data is enforced JSON at the JSON level. JSON encoded events can be sent directly to the analytics server.

Link copied to clipboard
data class AnalyticsEventParams(var payPalContextId: String? = null, var linkType: String? = null, var isVaultRequest: Boolean = false, var startTime: Long? = null, var endTime: Long? = null, var endpoint: String? = null)
Link copied to clipboard

Error class thrown when app switch to the corresponding wallet is not possible

Link copied to clipboard

Core Braintree class that handles network requests.

Link copied to clipboard

This Activity is used by the SDK Activity to handle deep links on behalf of the merchant It should not be used directly.

Link copied to clipboard
Link copied to clipboard
open class BraintreeException @JvmOverloads @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(message: String? = null, cause: Throwable? = null) : IOException

Parent class for exceptions encountered when using the SDK.

Link copied to clipboard

Request codes that Braintree uses when communicating between Android Activities and Fragments.

Link copied to clipboard

Contains the remote configuration for the Braintree Android SDK.

Link copied to clipboard
fun interface ConfigurationCallback

Callback for receiving result of BraintreeClient.getConfiguration.

Link copied to clipboard

Error class thrown when a configuration value is invalid

Link copied to clipboard

Error container returned when the Braintree server returns a 422 Unprocessible Entity. A 422 occurs when a request is properly formed, but the server was unable to take the requested action due to bad user data.

Link copied to clipboard
annotation class ExperimentalBetaApi

The annotated method or class is in beta. It's public API may change or be removed in future releases.

Link copied to clipboard

Error thrown when arguments provided to a method are invalid.

Link copied to clipboard
interface PaymentMethod

PaymentMethod represents the common interface of all payment method.

Link copied to clipboard
abstract class PaymentMethodNonce @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val string: String, val isDefault: Boolean) : Parcelable

Base class representing a method of payment for a customer. PaymentMethodNonce represents the common interface of all payment method nonces, and can be handled by a server interchangeably.

Link copied to clipboard
data class PostalAddress(var recipientName: String?, var phoneNumber: String?, var streetAddress: String?, var extendedAddress: String?, var locality: String?, var region: String?, var postalCode: String?, var sortingCode: String?, var countryCodeAlpha2: String?) : Parcelable

Object representing a postal address

Link copied to clipboard

Error class thrown when a user cancels a payment flow