PaymentMethodNonce

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.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val isDefault: Boolean

true if this payment method is the default for the current customer, false otherwise

Link copied to clipboard
open val string: String

The nonce generated for this payment method by the Braintree gateway. The nonce will represent this PaymentMethod for the purposes of creating transactions and other monetary actions.

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)