Package-level declarations

Types

Link copied to clipboard
data class AnalyticsEventParams @JvmOverloads constructor(var payPalContextId: String? = null, var linkType: String? = null, var isVaultRequest: Boolean = false, var startTime: Long? = null, var endTime: Long? = null, var endpoint: String? = null, val experiment: String? = null, val paymentMethodsDisplayed: List<String> = emptyList())

DTO for analytics events. See also: AnalyticsEvent It is a catch-all data class for any parameters any of the modules wants to send. As such, not all parameters are required at each call site.

Link copied to clipboard

This class is responsible for holding parameters that are sent with analytic events.

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
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
Link copied to clipboard
class ConfigurationException @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(message: String?, cause: Throwable? = null) : BraintreeException

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

Used to describe the link type for analytics Note: This enum is exposed for internal Braintree use only. Do not use. It is not covered by Semantic Versioning and may change or be removed at any time.

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? = null, var phoneNumber: String? = null, var streetAddress: String? = null, var extendedAddress: String? = null, var locality: String? = null, var region: String? = null, var postalCode: String? = null, var sortingCode: String? = null, var countryCodeAlpha2: String? = null) : Parcelable

Object representing a postal address

Link copied to clipboard

Error class thrown when a user cancels a payment flow