BraintreePaymentMethodNonce class

Constructors

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

Properties

amount → String?
The amount for the transaction, if available. This is for display purposes only and is not part of the Braintree nonce payload.
final
description → String
The description of this PaymentMethod for displaying to a customer, e.g. 'Visa ending in...'.
final
deviceData → String?
Device data string for fraud prevention, populated when collectDeviceData was requested. null otherwise.
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