BraintreePaymentMethodNonce class

Constructors

BraintreePaymentMethodNonce.new({required String nonce, required String typeLabel, required String description, required bool isDefault, String? paypalPayerId})
const
BraintreePaymentMethodNonce.fromJson(dynamic source)
factory

Properties

description String
The description of this PaymentMethod for displaying to a customer, e.g. 'Visa ending in...'.
final
hashCode int
The hash code for this object.
no setterinherited
isDefault bool
True if this payment method is the default for the current customer, false otherwise.
final
nonce 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.
final
paypalPayerId String?
PayPal payer id if requesting for paypal nonce
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeLabel String
The type of this PaymentMethod for displaying to a customer, e.g. 'Visa'. Can be used for displaying appropriate logos, etc.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited