Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 1.06 KB

CdvPurchase.Braintree.DropIn.PaymentMethodNonce.md

File metadata and controls

44 lines (24 loc) · 1.06 KB

Interface: PaymentMethodNonce

Braintree.DropIn.PaymentMethodNonce

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.

Table of contents

Properties

Properties

isDefault

isDefault: boolean

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


nonce

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.


type

Optional type: string

The type of the tokenized data, e.g. PayPal, Venmo, MasterCard, Visa, Amex.

(iOS Only)