braintree-web/fastlane

Members

(static) VERSION :string

The current version of the SDK, i.e. 3.110.0.

Source:

Methods

(static) create(options) → {Promise|void}

Parameters:
Name Type Description
options object

Creation options:

Properties
Name Type Attributes Description
client Client <optional>

A Client instance.

authorization string <optional>

A tokenizationKey or clientToken. Can be used in place of options.client.

deviceData string <optional>

A DataCollector instance.

Source:
Examples
braintree.fastlane.create({
  client: clientInstance,
  deviceData: dataCollectorInstance
}).then(function (fastlaneInstance) {
  // fastlaneInstance is ready to create an identity instance.
    identity = fastlaneInstance.identity
}).catch(function (createErr) {
  console.error('Error creating fastlane instance', createErr);
});

Creating a fastlane component

braintree.fastlane.create({
  client: clientInstance,
  deviceData: dataCollectorInstance
}).then(function (fastlaneInstance) {
  // fastlaneInstance is ready to create an identity instance.
    identity = fastlaneInstance.identity
}).catch(function (createErr) {
  console.error('Error creating fastlane instance', createErr);
});