");
+ $input.on("blur.tt", function($e) {
+ var active, isActive, hasActive;
+ active = document.activeElement;
+ isActive = $menu.is(active);
+ hasActive = $menu.has(active).length > 0;
+ if (_.isMsie() && (isActive || hasActive)) {
+ $e.preventDefault();
+ $e.stopImmediatePropagation();
+ _.defer(function() {
+ $input.focus();
+ });
+ }
+ });
+ $menu.on("mousedown.tt", function($e) {
+ $e.preventDefault();
+ });
+ },
+ _onSelectableClicked: function onSelectableClicked(type, $el) {
+ this.select($el);
+ },
+ _onDatasetCleared: function onDatasetCleared() {
+ this._updateHint();
+ },
+ _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) {
+ this._updateHint();
+ if (this.autoselect) {
+ var cursorClass = this.selectors.cursor.substr(1);
+ this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass);
+ }
+ this.eventBus.trigger("render", suggestions, async, dataset);
+ },
+ _onAsyncRequested: function onAsyncRequested(type, dataset, query) {
+ this.eventBus.trigger("asyncrequest", query, dataset);
+ },
+ _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) {
+ this.eventBus.trigger("asynccancel", query, dataset);
+ },
+ _onAsyncReceived: function onAsyncReceived(type, dataset, query) {
+ this.eventBus.trigger("asyncreceive", query, dataset);
+ },
+ _onFocused: function onFocused() {
+ this._minLengthMet() && this.menu.update(this.input.getQuery());
+ },
+ _onBlurred: function onBlurred() {
+ if (this.input.hasQueryChangedSinceLastFocus()) {
+ this.eventBus.trigger("change", this.input.getQuery());
+ }
+ },
+ _onEnterKeyed: function onEnterKeyed(type, $e) {
+ var $selectable;
+ if ($selectable = this.menu.getActiveSelectable()) {
+ if (this.select($selectable)) {
+ $e.preventDefault();
+ $e.stopPropagation();
+ }
+ } else if (this.autoselect) {
+ if (this.select(this.menu.getTopSelectable())) {
+ $e.preventDefault();
+ $e.stopPropagation();
+ }
+ }
+ },
+ _onTabKeyed: function onTabKeyed(type, $e) {
+ var $selectable;
+ if ($selectable = this.menu.getActiveSelectable()) {
+ this.select($selectable) && $e.preventDefault();
+ } else if (this.autoselect) {
+ if ($selectable = this.menu.getTopSelectable()) {
+ this.autocomplete($selectable) && $e.preventDefault();
+ }
+ }
+ },
+ _onEscKeyed: function onEscKeyed() {
+ this.close();
+ },
+ _onUpKeyed: function onUpKeyed() {
+ this.moveCursor(-1);
+ },
+ _onDownKeyed: function onDownKeyed() {
+ this.moveCursor(+1);
+ },
+ _onLeftKeyed: function onLeftKeyed() {
+ if (this.dir === "rtl" && this.input.isCursorAtEnd()) {
+ this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable());
+ }
+ },
+ _onRightKeyed: function onRightKeyed() {
+ if (this.dir === "ltr" && this.input.isCursorAtEnd()) {
+ this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable());
+ }
+ },
+ _onQueryChanged: function onQueryChanged(e, query) {
+ this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty();
+ },
+ _onWhitespaceChanged: function onWhitespaceChanged() {
+ this._updateHint();
+ },
+ _onLangDirChanged: function onLangDirChanged(e, dir) {
+ if (this.dir !== dir) {
+ this.dir = dir;
+ this.menu.setLanguageDirection(dir);
+ }
+ },
+ _openIfActive: function openIfActive() {
+ this.isActive() && this.open();
+ },
+ _minLengthMet: function minLengthMet(query) {
+ query = _.isString(query) ? query : this.input.getQuery() || "";
+ return query.length >= this.minLength;
+ },
+ _updateHint: function updateHint() {
+ var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match;
+ $selectable = this.menu.getTopSelectable();
+ data = this.menu.getSelectableData($selectable);
+ val = this.input.getInputValue();
+ if (data && !_.isBlankString(val) && !this.input.hasOverflow()) {
+ query = Input.normalizeQuery(val);
+ escapedQuery = _.escapeRegExChars(query);
+ frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i");
+ match = frontMatchRegEx.exec(data.val);
+ match && this.input.setHint(val + match[1]);
+ } else {
+ this.input.clearHint();
+ }
+ },
+ isEnabled: function isEnabled() {
+ return this.enabled;
+ },
+ enable: function enable() {
+ this.enabled = true;
+ },
+ disable: function disable() {
+ this.enabled = false;
+ },
+ isActive: function isActive() {
+ return this.active;
+ },
+ activate: function activate() {
+ if (this.isActive()) {
+ return true;
+ } else if (!this.isEnabled() || this.eventBus.before("active")) {
+ return false;
+ } else {
+ this.active = true;
+ this.eventBus.trigger("active");
+ return true;
+ }
+ },
+ deactivate: function deactivate() {
+ if (!this.isActive()) {
+ return true;
+ } else if (this.eventBus.before("idle")) {
+ return false;
+ } else {
+ this.active = false;
+ this.close();
+ this.eventBus.trigger("idle");
+ return true;
+ }
+ },
+ isOpen: function isOpen() {
+ return this.menu.isOpen();
+ },
+ open: function open() {
+ if (!this.isOpen() && !this.eventBus.before("open")) {
+ this.input.setAriaExpanded(true);
+ this.menu.open();
+ this._updateHint();
+ this.eventBus.trigger("open");
+ }
+ return this.isOpen();
+ },
+ close: function close() {
+ if (this.isOpen() && !this.eventBus.before("close")) {
+ this.input.setAriaExpanded(false);
+ this.menu.close();
+ this.input.clearHint();
+ this.input.resetInputValue();
+ this.eventBus.trigger("close");
+ }
+ return !this.isOpen();
+ },
+ setVal: function setVal(val) {
+ this.input.setQuery(_.toStr(val));
+ },
+ getVal: function getVal() {
+ return this.input.getQuery();
+ },
+ select: function select($selectable) {
+ var data = this.menu.getSelectableData($selectable);
+ if (data && !this.eventBus.before("select", data.obj, data.dataset)) {
+ this.input.setQuery(data.val, true);
+ this.eventBus.trigger("select", data.obj, data.dataset);
+ this.close();
+ return true;
+ }
+ return false;
+ },
+ autocomplete: function autocomplete($selectable) {
+ var query, data, isValid;
+ query = this.input.getQuery();
+ data = this.menu.getSelectableData($selectable);
+ isValid = data && query !== data.val;
+ if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) {
+ this.input.setQuery(data.val);
+ this.eventBus.trigger("autocomplete", data.obj, data.dataset);
+ return true;
+ }
+ return false;
+ },
+ moveCursor: function moveCursor(delta) {
+ var query, $candidate, data, suggestion, datasetName, cancelMove, id;
+ query = this.input.getQuery();
+ $candidate = this.menu.selectableRelativeToCursor(delta);
+ data = this.menu.getSelectableData($candidate);
+ suggestion = data ? data.obj : null;
+ datasetName = data ? data.dataset : null;
+ id = $candidate ? $candidate.attr("id") : null;
+ this.input.trigger("cursorchange", id);
+ cancelMove = this._minLengthMet() && this.menu.update(query);
+ if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) {
+ this.menu.setCursor($candidate);
+ if (data) {
+ if (typeof data.val === "string") {
+ this.input.setInputValue(data.val);
+ }
+ } else {
+ this.input.resetInputValue();
+ this._updateHint();
+ }
+ this.eventBus.trigger("cursorchange", suggestion, datasetName);
+ return true;
+ }
+ return false;
+ },
+ destroy: function destroy() {
+ this.input.destroy();
+ this.menu.destroy();
+ }
+ });
+ return Typeahead;
+ function c(ctx) {
+ var methods = [].slice.call(arguments, 1);
+ return function() {
+ var args = [].slice.call(arguments);
+ _.each(methods, function(method) {
+ return ctx[method].apply(ctx, args);
+ });
+ };
+ }
+ }();
+ (function() {
+ "use strict";
+ var old, keys, methods;
+ old = $.fn.typeahead;
+ keys = {
+ www: "tt-www",
+ attrs: "tt-attrs",
+ typeahead: "tt-typeahead"
+ };
+ methods = {
+ initialize: function initialize(o, datasets) {
+ var www;
+ datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1);
+ o = o || {};
+ www = WWW(o.classNames);
+ return this.each(attach);
+ function attach() {
+ var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor;
+ _.each(datasets, function(d) {
+ d.highlight = !!o.highlight;
+ });
+ $input = $(this);
+ $wrapper = $(www.html.wrapper);
+ $hint = $elOrNull(o.hint);
+ $menu = $elOrNull(o.menu);
+ defaultHint = o.hint !== false && !$hint;
+ defaultMenu = o.menu !== false && !$menu;
+ defaultHint && ($hint = buildHintFromInput($input, www));
+ defaultMenu && ($menu = $(www.html.menu).css(www.css.menu));
+ $hint && $hint.val("");
+ $input = prepInput($input, www);
+ if (defaultHint || defaultMenu) {
+ $wrapper.css(www.css.wrapper);
+ $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint);
+ $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null);
+ }
+ MenuConstructor = defaultMenu ? DefaultMenu : Menu;
+ eventBus = new EventBus({
+ el: $input
+ });
+ input = new Input({
+ hint: $hint,
+ input: $input,
+ menu: $menu
+ }, www);
+ menu = new MenuConstructor({
+ node: $menu,
+ datasets: datasets
+ }, www);
+ status = new Status({
+ $input: $input,
+ menu: menu
+ });
+ typeahead = new Typeahead({
+ input: input,
+ menu: menu,
+ eventBus: eventBus,
+ minLength: o.minLength,
+ autoselect: o.autoselect
+ }, www);
+ $input.data(keys.www, www);
+ $input.data(keys.typeahead, typeahead);
+ }
+ },
+ isEnabled: function isEnabled() {
+ var enabled;
+ ttEach(this.first(), function(t) {
+ enabled = t.isEnabled();
+ });
+ return enabled;
+ },
+ enable: function enable() {
+ ttEach(this, function(t) {
+ t.enable();
+ });
+ return this;
+ },
+ disable: function disable() {
+ ttEach(this, function(t) {
+ t.disable();
+ });
+ return this;
+ },
+ isActive: function isActive() {
+ var active;
+ ttEach(this.first(), function(t) {
+ active = t.isActive();
+ });
+ return active;
+ },
+ activate: function activate() {
+ ttEach(this, function(t) {
+ t.activate();
+ });
+ return this;
+ },
+ deactivate: function deactivate() {
+ ttEach(this, function(t) {
+ t.deactivate();
+ });
+ return this;
+ },
+ isOpen: function isOpen() {
+ var open;
+ ttEach(this.first(), function(t) {
+ open = t.isOpen();
+ });
+ return open;
+ },
+ open: function open() {
+ ttEach(this, function(t) {
+ t.open();
+ });
+ return this;
+ },
+ close: function close() {
+ ttEach(this, function(t) {
+ t.close();
+ });
+ return this;
+ },
+ select: function select(el) {
+ var success = false, $el = $(el);
+ ttEach(this.first(), function(t) {
+ success = t.select($el);
+ });
+ return success;
+ },
+ autocomplete: function autocomplete(el) {
+ var success = false, $el = $(el);
+ ttEach(this.first(), function(t) {
+ success = t.autocomplete($el);
+ });
+ return success;
+ },
+ moveCursor: function moveCursoe(delta) {
+ var success = false;
+ ttEach(this.first(), function(t) {
+ success = t.moveCursor(delta);
+ });
+ return success;
+ },
+ val: function val(newVal) {
+ var query;
+ if (!arguments.length) {
+ ttEach(this.first(), function(t) {
+ query = t.getVal();
+ });
+ return query;
+ } else {
+ ttEach(this, function(t) {
+ t.setVal(_.toStr(newVal));
+ });
+ return this;
+ }
+ },
+ destroy: function destroy() {
+ ttEach(this, function(typeahead, $input) {
+ revert($input);
+ typeahead.destroy();
+ });
+ return this;
+ }
+ };
+ $.fn.typeahead = function(method) {
+ if (methods[method]) {
+ return methods[method].apply(this, [].slice.call(arguments, 1));
+ } else {
+ return methods.initialize.apply(this, arguments);
+ }
+ };
+ $.fn.typeahead.noConflict = function noConflict() {
+ $.fn.typeahead = old;
+ return this;
+ };
+ function ttEach($els, fn) {
+ $els.each(function() {
+ var $input = $(this), typeahead;
+ (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input);
+ });
+ }
+ function buildHintFromInput($input, www) {
+ return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({
+ readonly: true,
+ required: false
+ }).removeAttr("id name placeholder").removeClass("required").attr({
+ spellcheck: "false",
+ tabindex: -1
+ });
+ }
+ function prepInput($input, www) {
+ $input.data(keys.attrs, {
+ dir: $input.attr("dir"),
+ autocomplete: $input.attr("autocomplete"),
+ spellcheck: $input.attr("spellcheck"),
+ style: $input.attr("style")
+ });
+ $input.addClass(www.classes.input).attr({
+ spellcheck: false
+ });
+ try {
+ !$input.attr("dir") && $input.attr("dir", "auto");
+ } catch (e) {}
+ return $input;
+ }
+ function getBackgroundStyles($el) {
+ return {
+ backgroundAttachment: $el.css("background-attachment"),
+ backgroundClip: $el.css("background-clip"),
+ backgroundColor: $el.css("background-color"),
+ backgroundImage: $el.css("background-image"),
+ backgroundOrigin: $el.css("background-origin"),
+ backgroundPosition: $el.css("background-position"),
+ backgroundRepeat: $el.css("background-repeat"),
+ backgroundSize: $el.css("background-size")
+ };
+ }
+ function revert($input) {
+ var www, $wrapper;
+ www = $input.data(keys.www);
+ $wrapper = $input.parent().filter(www.selectors.wrapper);
+ _.each($input.data(keys.attrs), function(val, key) {
+ _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val);
+ });
+ $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input);
+ if ($wrapper.length) {
+ $input.detach().insertAfter($wrapper);
+ $wrapper.remove();
+ }
+ }
+ function $elOrNull(obj) {
+ var isValid, $el;
+ isValid = _.isJQuery(obj) || _.isElement(obj);
+ $el = isValid ? $(obj).first() : [];
+ return $el.length ? $el : null;
+ }
+ })();
+});
\ No newline at end of file
diff --git a/6.0.0-beta4/docsets/Braintree.docset/Contents/Resources/Documents/search.json b/6.0.0-beta4/docsets/Braintree.docset/Contents/Resources/Documents/search.json
new file mode 100644
index 0000000000..89a3138fa0
--- /dev/null
+++ b/6.0.0-beta4/docsets/Braintree.docset/Contents/Resources/Documents/search.json
@@ -0,0 +1 @@
+{"Protocols/BTThreeDSecureRequestDelegate.html#/c:@M@BraintreeThreeDSecure@objc(pl)BTThreeDSecureRequestDelegate(im)onLookupComplete:lookupResult:next:":{"name":"onLookupComplete(_:lookupResult:next:)","abstract":"
Required delegate method which returns the ThreeDSecure lookup result before the flow continues.","parent_name":"BTThreeDSecureRequestDelegate"},"Protocols/BTLocalPaymentRequestDelegate.html#/c:@M@BraintreeLocalPayment@objc(pl)BTLocalPaymentRequestDelegate(im)localPaymentStarted:paymentID:start:":{"name":"localPaymentStarted(_:paymentID:start:)","abstract":"
Required delegate method which returns the payment ID before the flow starts.
","parent_name":"BTLocalPaymentRequestDelegate"},"Protocols/BTLocalPaymentRequestDelegate.html":{"name":"BTLocalPaymentRequestDelegate"},"Protocols/BTThreeDSecureRequestDelegate.html":{"name":"BTThreeDSecureRequestDelegate","abstract":"
Protocol for ThreeDSecure Request flow
"},"Extensions/BTThreeDSecureV2Provider.html#/s:21BraintreeThreeDSecure07BTThreeC10V2ProviderC15cardinalSessionAD15stepUpValidated9serverJWTySo08CardinalH0CSg_So0N8ResponseCSgSSSgtF":{"name":"cardinalSession(cardinalSession:stepUpValidated:serverJWT:)","parent_name":"BTThreeDSecureV2Provider"},"Extensions/BTThreeDSecureV2Provider.html":{"name":"BTThreeDSecureV2Provider"},"Enums/BTVenmoPaymentMethodUsage.html#/c:@M@BraintreeVenmo@E@BTVenmoPaymentMethodUsage@BTVenmoPaymentMethodUsageMultiUse":{"name":"multiUse","abstract":"
The Venmo payment will be authorized for future payments and can be vaulted.
","parent_name":"BTVenmoPaymentMethodUsage"},"Enums/BTVenmoPaymentMethodUsage.html#/c:@M@BraintreeVenmo@E@BTVenmoPaymentMethodUsage@BTVenmoPaymentMethodUsageSingleUse":{"name":"singleUse","abstract":"
The Venmo payment will be authorized for a one-time payment and cannot be vaulted.
","parent_name":"BTVenmoPaymentMethodUsage"},"Enums/BTPayPalRequestLandingPageType.html#/c:@M@BraintreePayPal@E@BTPayPalRequestLandingPageType@BTPayPalRequestLandingPageTypeNone":{"name":"none","abstract":"
Default
","parent_name":"BTPayPalRequestLandingPageType"},"Enums/BTPayPalRequestLandingPageType.html#/c:@M@BraintreePayPal@E@BTPayPalRequestLandingPageType@BTPayPalRequestLandingPageTypeLogin":{"name":"login","abstract":"
Login
","parent_name":"BTPayPalRequestLandingPageType"},"Enums/BTPayPalRequestLandingPageType.html#/c:@M@BraintreePayPal@E@BTPayPalRequestLandingPageType@BTPayPalRequestLandingPageTypeBilling":{"name":"billing","abstract":"
Billing
","parent_name":"BTPayPalRequestLandingPageType"},"Enums/BTPayPalPaymentType.html#/c:@M@BraintreePayPal@E@BTPayPalPaymentType@BTPayPalPaymentTypeCheckout":{"name":"checkout","abstract":"
Checkout
","parent_name":"BTPayPalPaymentType"},"Enums/BTPayPalPaymentType.html#/c:@M@BraintreePayPal@E@BTPayPalPaymentType@BTPayPalPaymentTypeVault":{"name":"vault","abstract":"
Vault
","parent_name":"BTPayPalPaymentType"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeNone":{"name":"none","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeDa_DK":{"name":"da_DK","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeDe_DE":{"name":"de_DE","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEn_AU":{"name":"en_AU","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEn_GB":{"name":"en_GB","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEn_US":{"name":"en_US","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEs_ES":{"name":"es_ES","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEs_XC":{"name":"es_XC","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeFr_CA":{"name":"fr_CA","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeFr_FR":{"name":"fr_FR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeFr_XC":{"name":"fr_XC","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeId_ID":{"name":"id_ID","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeIt_IT":{"name":"it_IT","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeJa_JP":{"name":"ja_JP","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeKo_KR":{"name":"ko_KR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeNl_NL":{"name":"nl_NL","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeNo_NO":{"name":"no_NO","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodePl_PL":{"name":"pl_PL","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodePt_BR":{"name":"pt_BR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodePt_PT":{"name":"pt_PT","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeRu_RU":{"name":"ru_RU","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeSv_SE":{"name":"sv_SE","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeTh_TH":{"name":"th_TH","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeTr_TR":{"name":"tr_TR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_CN":{"name":"zh_CN","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_HK":{"name":"zh_HK","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_TW":{"name":"zh_TW","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_XC":{"name":"zh_XC","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLineItemKind.html#/c:@M@BraintreePayPal@E@BTPayPalLineItemKind@BTPayPalLineItemKindDebit":{"name":"debit","abstract":"
Debit
","parent_name":"BTPayPalLineItemKind"},"Enums/BTPayPalLineItemKind.html#/c:@M@BraintreePayPal@E@BTPayPalLineItemKind@BTPayPalLineItemKindCredit":{"name":"credit","abstract":"
Credit
","parent_name":"BTPayPalLineItemKind"},"Enums/BTPayPalRequestUserAction.html#/c:@M@BraintreePayPal@E@BTPayPalRequestUserAction@BTPayPalRequestUserActionNone":{"name":"none","abstract":"
Default
","parent_name":"BTPayPalRequestUserAction"},"Enums/BTPayPalRequestUserAction.html#/c:@M@BraintreePayPal@E@BTPayPalRequestUserAction@BTPayPalRequestUserActionPayNow":{"name":"payNow","abstract":"
Pay Now
","parent_name":"BTPayPalRequestUserAction"},"Enums/BTPayPalRequestIntent.html#/c:@M@BraintreePayPal@E@BTPayPalRequestIntent@BTPayPalRequestIntentAuthorize":{"name":"authorize","abstract":"
Authorize
","parent_name":"BTPayPalRequestIntent"},"Enums/BTPayPalRequestIntent.html#/c:@M@BraintreePayPal@E@BTPayPalRequestIntent@BTPayPalRequestIntentSale":{"name":"sale","abstract":"
Sale
","parent_name":"BTPayPalRequestIntent"},"Enums/BTPayPalRequestIntent.html#/c:@M@BraintreePayPal@E@BTPayPalRequestIntent@BTPayPalRequestIntentOrder":{"name":"order","abstract":"
Order
","parent_name":"BTPayPalRequestIntent"},"Enums/BTPayPalRequestIntent.html#/s:15BraintreePayPal05BTPayC13RequestIntentO11stringValueSSvp":{"name":"stringValue","parent_name":"BTPayPalRequestIntent"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeVerify":{"name":"verify","abstract":"
Verify button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeContinue":{"name":"continue","abstract":"
Continue button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeNext":{"name":"next","abstract":"
Next button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeCancel":{"name":"cancel","abstract":"
Cancel button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeResend":{"name":"resend","abstract":"
Resend button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodSameDay":{"name":"sameDay","abstract":"
Same Day
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodExpedited":{"name":"expedited","abstract":"
Expedited
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodPriority":{"name":"priority","abstract":"
Priority
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodGround":{"name":"ground","abstract":"
Ground
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodElectronicDelivery":{"name":"electronicDelivery","abstract":"
Electronic Delivery
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodShipToStore":{"name":"shipToStore","abstract":"
Ship to Store
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeLowValue":{"name":"lowValue","abstract":"
Low value
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeSecureCorporate":{"name":"secureCorporate","abstract":"
Secure corporate
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeTrustedBeneficiary":{"name":"trustedBeneficiary","abstract":"
Trusted beneficiary
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeTransactionRiskAnalysis":{"name":"transactionRiskAnalysis","abstract":"
Transaction risk analysis
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureCardAddChallenge.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureCardAddChallenge@BTThreeDSecureCardAddChallengeUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureCardAddChallenge"},"Enums/BTThreeDSecureCardAddChallenge.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureCardAddChallenge@BTThreeDSecureCardAddChallengeRequested":{"name":"requested","abstract":"
Requested
","parent_name":"BTThreeDSecureCardAddChallenge"},"Enums/BTThreeDSecureCardAddChallenge.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureCardAddChallenge@BTThreeDSecureCardAddChallengeNotRequested":{"name":"notRequested","abstract":"
Not Requested
","parent_name":"BTThreeDSecureCardAddChallenge"},"Enums/BTThreeDSecureAccountType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureAccountType@BTThreeDSecureAccountTypeUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureAccountType"},"Enums/BTThreeDSecureAccountType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureAccountType@BTThreeDSecureAccountTypeCredit":{"name":"credit","abstract":"
Credit
","parent_name":"BTThreeDSecureAccountType"},"Enums/BTThreeDSecureAccountType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureAccountType@BTThreeDSecureAccountTypeDebit":{"name":"debit","abstract":"
Debit
","parent_name":"BTThreeDSecureAccountType"},"Enums/BTSEPADirectDebitMandateType.html#/c:@M@BraintreeSEPADirectDebit@E@BTSEPADirectDebitMandateType@BTSEPADirectDebitMandateTypeOneOff":{"name":"oneOff","parent_name":"BTSEPADirectDebitMandateType"},"Enums/BTSEPADirectDebitMandateType.html#/c:@M@BraintreeSEPADirectDebit@E@BTSEPADirectDebitMandateType@BTSEPADirectDebitMandateTypeRecurrent":{"name":"recurrent","parent_name":"BTSEPADirectDebitMandateType"},"Enums/BTSEPADirectDebitMandateType.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"BTSEPADirectDebitMandateType"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelCritical":{"name":"critical","abstract":"
Only log critical issues (e.g. irrecoverable errors)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelError":{"name":"error","abstract":"
Log errors (e.g. expected or recoverable errors)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelWarning":{"name":"warning","abstract":"
Log warnings (e.g. use of pre-release features)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelInfo":{"name":"info","abstract":"
Log basic information (e.g. state changes, network activity)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelDebug":{"name":"debug","abstract":"
Log debugging statements (anything and everything)
","parent_name":"BTLogLevel"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourceUnknown":{"name":"unknown","abstract":"
Unknown source
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourcePayPalApp":{"name":"payPalApp","abstract":"
PayPal app
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourcePayPalBrowser":{"name":"payPalBrowser","abstract":"
PayPal browser
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourceVenmoApp":{"name":"venmoApp","abstract":"
Venmo app
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourceForm":{"name":"form","abstract":"
Form
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataIntegration.html#/c:@M@BraintreeCore@E@BTClientMetadataIntegration@BTClientMetadataIntegrationCustom":{"name":"custom","abstract":"
Custom
","parent_name":"BTClientMetadataIntegration"},"Enums/BTClientMetadataIntegration.html#/c:@M@BraintreeCore@E@BTClientMetadataIntegration@BTClientMetadataIntegrationDropIn":{"name":"dropIn","abstract":"
Drop-in
","parent_name":"BTClientMetadataIntegration"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkUnknown":{"name":"unknown","abstract":"
Unknown card
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkAMEX":{"name":"AMEX","abstract":"
American Express
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkDinersClub":{"name":"dinersClub","abstract":"
Diners Club
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkDiscover":{"name":"discover","abstract":"
Discover
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkMasterCard":{"name":"masterCard","abstract":"
Mastercard
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkVisa":{"name":"visa","abstract":"
Visa
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkJCB":{"name":"JCB","abstract":"
JCB
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkLaser":{"name":"laser","abstract":"
Laser
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkMaestro":{"name":"maestro","abstract":"
Maestro
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkUnionPay":{"name":"unionPay","abstract":"
Union Pay
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkHiper":{"name":"hiper","abstract":"
Hiper
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkHipercard":{"name":"hipercard","abstract":"
Hipercard
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkSolo":{"name":"solo","abstract":"
Solo
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkSwitch":{"name":"switch","abstract":"
Switch
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkUkMaestro":{"name":"ukMaestro","abstract":"
UK Maestro
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html":{"name":"BTCardNetwork","abstract":"
Card type
"},"Enums/BTClientMetadataIntegration.html":{"name":"BTClientMetadataIntegration","abstract":"
Integration Types
"},"Enums/BTClientMetadataSource.html":{"name":"BTClientMetadataSource","abstract":"
Source of the metadata
"},"Enums/BTLogLevel.html":{"name":"BTLogLevel","abstract":"
Log level used to add formatted string to NSLog
"},"Enums/BTSEPADirectDebitMandateType.html":{"name":"BTSEPADirectDebitMandateType","abstract":"
Mandate type for the SEPA Direct Debit request.
"},"Enums/BTThreeDSecureAccountType.html":{"name":"BTThreeDSecureAccountType","abstract":"
The account type
"},"Enums/BTThreeDSecureCardAddChallenge.html":{"name":"BTThreeDSecureCardAddChallenge","abstract":"
The card add challenge request
"},"Enums/BTThreeDSecureRequestedExemptionType.html":{"name":"BTThreeDSecureRequestedExemptionType","abstract":"
3D Secure requested exemption type
"},"Enums/BTThreeDSecureShippingMethod.html":{"name":"BTThreeDSecureShippingMethod","abstract":"
The shipping method
"},"Enums/BTThreeDSecureV2ButtonType.html":{"name":"BTThreeDSecureV2ButtonType","abstract":"
Button types that can be customized in 3D Secure 2 flows.
"},"Enums/BTPayPalRequestIntent.html":{"name":"BTPayPalRequestIntent","abstract":"
Payment intent.
"},"Enums/BTPayPalRequestUserAction.html":{"name":"BTPayPalRequestUserAction","abstract":"
The call-to-action in the PayPal Checkout flow.
"},"Enums/BTPayPalLineItemKind.html":{"name":"BTPayPalLineItemKind","abstract":"
Use this option to specify whether a line item is a debit (sale) or credit (refund) to the customer.
"},"Enums/BTPayPalLocaleCode.html":{"name":"BTPayPalLocaleCode","abstract":"
A locale code to use for a transaction.
"},"Enums/BTPayPalPaymentType.html":{"name":"BTPayPalPaymentType"},"Enums/BTPayPalRequestLandingPageType.html":{"name":"BTPayPalRequestLandingPageType","abstract":"
Use this option to specify the PayPal page to display when a user lands on the PayPal site to complete the payment.
"},"Enums/BTVenmoPaymentMethodUsage.html":{"name":"BTVenmoPaymentMethodUsage","abstract":"
Usage type for the tokenized Venmo account
"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)profileID":{"name":"profileID","abstract":"
Optional. The Venmo profile ID to be used during payment authorization. Customers will see the business name and logo associated with this Venmo profile, and it may show up in the","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)vault":{"name":"vault","abstract":"
Whether to automatically vault the Venmo account on the client. For client-side vaulting, you must initialize BTAPIClient with a client token that was created with a customer ID.","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)paymentMethodUsage":{"name":"paymentMethodUsage","abstract":"
If set to .multiUse
, the Venmo payment will be authorized for future payments and can be vaulted.","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)displayName":{"name":"displayName","abstract":"
Optional. The business name that will be displayed in the Venmo app payment approval screen. Only used by merchants onboarded as PayFast channel partners.
","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(im)initWithPaymentMethodUsage:":{"name":"init(paymentMethodUsage:)","abstract":"
Initialize a Venmo request with a payment method usage.
","parent_name":"BTVenmoRequest"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates an Apple Pay client
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)tokenizeWithVenmoRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Initiates Venmo login via app switch, which returns a BTVenmoAccountNonce when successful.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/s:14BraintreeVenmo13BTVenmoClientC8tokenizeyAA0C12AccountNonceCAA0C7RequestCYaKF":{"name":"tokenize(_:)","abstract":"
Initiates Venmo login via app switch, which returns a BTVenmoAccountNonce when successful.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)isVenmoAppInstalled":{"name":"isVenmoAppInstalled()","abstract":"
Returns true if the proper Venmo app is installed and configured correctly, returns false otherwise.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)openVenmoAppPageInAppStore":{"name":"openVenmoAppPageInAppStore()","abstract":"
Switches to the App Store to download the Venmo application.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)email":{"name":"email","abstract":"
The email associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)externalID":{"name":"externalID","abstract":"
The external ID associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)firstName":{"name":"firstName","abstract":"
The first name associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)lastName":{"name":"lastName","abstract":"
The last name associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)phoneNumber":{"name":"phoneNumber","abstract":"
The phone number associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)username":{"name":"username","abstract":"
The username associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTPayPalVaultRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalVaultRequest(py)offerCredit":{"name":"offerCredit","abstract":"
Optional: Offers PayPal Credit if the customer qualifies. Defaults to false
.
","parent_name":"BTPayPalVaultRequest"},"Classes/BTPayPalVaultRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalVaultRequest(im)initWithOfferCredit:":{"name":"init(offerCredit:)","abstract":"
Initializes a PayPal Native Vault request
","parent_name":"BTPayPalVaultRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)isShippingAddressRequired":{"name":"isShippingAddressRequired","abstract":"
Defaults to false. When set to true, the shipping address selector will be displayed.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)isShippingAddressEditable":{"name":"isShippingAddressEditable","abstract":"
Defaults to false. Set to true to enable user editing of the shipping address.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)localeCode":{"name":"localeCode","abstract":"
Optional: A locale code to use for the transaction.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)shippingAddressOverride":{"name":"shippingAddressOverride","abstract":"
Optional: A valid shipping address to be displayed in the transaction flow. An error will occur if this address is not valid.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)landingPageType":{"name":"landingPageType","abstract":"
Optional: Landing page type. Defaults to .none
.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)displayName":{"name":"displayName","abstract":"
Optional: The merchant name displayed inside of the PayPal flow; defaults to the company name on your Braintree account
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional: A non-default merchant account to use for tokenization.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)lineItems":{"name":"lineItems","abstract":"
Optional: The line items for this transaction. It can include up to 249 line items.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)billingAgreementDescription":{"name":"billingAgreementDescription","abstract":"
Optional: Display a custom description to the user for a billing agreement. For Checkout with Vault flows, you must also set","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)riskCorrelationID":{"name":"riskCorrelationID","abstract":"
Optional: A risk correlation ID created with Set Transaction Context on your server.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)quantity":{"name":"quantity","abstract":"
Number of units of the item purchased. This value must be a whole number and can’t be negative or zero.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)unitAmount":{"name":"unitAmount","abstract":"
Per-unit price of the item. Can include up to 2 decimal places. This value can’t be negative or zero.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)name":{"name":"name","abstract":"
Item name. Maximum 127 characters.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)kind":{"name":"kind","abstract":"
Indicates whether the line item is a debit (sale) or credit (refund) to the customer.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)unitTaxAmount":{"name":"unitTaxAmount","abstract":"
Optional: Per-unit tax price of the item. Can include up to 2 decimal places. This value can’t be negative or zero.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)itemDescription":{"name":"itemDescription","abstract":"
Optional: Item description. Maximum 127 characters.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)productCode":{"name":"productCode","abstract":"
Optional: Product or UPC code for the item. Maximum 127 characters.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)url":{"name":"url","abstract":"
Optional: The URL to product information.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(im)initWithQuantity:unitAmount:name:kind:":{"name":"init(quantity:unitAmount:name:kind:)","abstract":"
Initialize a PayPayLineItem
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(im)requestParameters":{"name":"requestParameters()","abstract":"
Returns the line item in a dictionary.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalCreditFinancingAmount.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancingAmount(py)currency":{"name":"currency","abstract":"
3 letter currency code as defined by ISO 4217 .
","parent_name":"BTPayPalCreditFinancingAmount"},"Classes/BTPayPalCreditFinancingAmount.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancingAmount(py)value":{"name":"value","abstract":"
An amount defined by ISO 4217 for the given currency.
","parent_name":"BTPayPalCreditFinancingAmount"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)cardAmountImmutable":{"name":"cardAmountImmutable","abstract":"
Indicates whether the card amount is editable after payer’s acceptance on PayPal side.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)monthlyPayment":{"name":"monthlyPayment","abstract":"
Estimated amount per month that the customer will need to pay including fees and interest.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)payerAcceptance":{"name":"payerAcceptance","abstract":"
Status of whether the customer ultimately was approved for and chose to make the payment using the approved installment credit.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)term":{"name":"term","abstract":"
Length of financing terms in months.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)totalCost":{"name":"totalCost","abstract":"
Estimated total payment amount including interest and fees the user will pay during the lifetime of the loan.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)totalInterest":{"name":"totalInterest","abstract":"
Estimated interest or fees amount the payer will have to pay during the lifetime of the loan.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalClient.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initialize a new PayPal client instance.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalClient(im)tokenizeWithVaultRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Vault flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/s:15BraintreePayPal05BTPayC6ClientC8tokenizeyAA0dC12AccountNonceCAA0dC12VaultRequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Vault flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalClient(im)tokenizeWithCheckoutRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Checkout or Pay Later flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/s:15BraintreePayPal05BTPayC6ClientC8tokenizeyAA0dC12AccountNonceCAA0dC15CheckoutRequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Checkout or Pay Later flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)amount":{"name":"amount","abstract":"
Used for a one-time payment.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)intent":{"name":"intent","abstract":"
Optional: Payment intent. Defaults to .authorize
. Only applies to PayPal Checkout.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)userAction":{"name":"userAction","abstract":"
Optional: Changes the call-to-action in the PayPal Checkout flow. Defaults to .none
.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)offerPayLater":{"name":"offerPayLater","abstract":"
Optional: Offers PayPal Pay Later if the customer qualifies. Defaults to false
. Only available with PayPal Checkout.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)currencyCode":{"name":"currencyCode","abstract":"
Optional: A three-character ISO-4217 ISO currency code to use for the transaction. Defaults to merchant currency code if not set.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)requestBillingAgreement":{"name":"requestBillingAgreement","abstract":"
Optional: If set to true
, this enables the Checkout with Vault flow, where the customer will be prompted to consent to a billing agreement during checkout. Defaults to false
.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(im)initWithAmount:intent:userAction:offerPayLater:currencyCode:requestBillingAgreement:":{"name":"init(amount:intent:userAction:offerPayLater:currencyCode:requestBillingAgreement:)","abstract":"
Initializes a PayPal Native Checkout request
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)email":{"name":"email","abstract":"
Payer’s email address.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)firstName":{"name":"firstName","abstract":"
Payer’s first name.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)lastName":{"name":"lastName","abstract":"
Payer’s last name.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)phone":{"name":"phone","abstract":"
Payer’s phone number.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)billingAddress":{"name":"billingAddress","abstract":"
The billing address.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)shippingAddress":{"name":"shippingAddress","abstract":"
The shipping address.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)clientMetadataID":{"name":"clientMetadataID","abstract":"
Client metadata id associated with this transaction.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)payerID":{"name":"payerID","abstract":"
Optional. Payer id associated with this transaction.","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)creditFinancing":{"name":"creditFinancing","abstract":"
Optional. Credit financing details if the customer pays with PayPal Credit.","parent_name":"BTPayPalAccountNonce"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)acsTransactionID":{"name":"acsTransactionID","abstract":"
Unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)authenticationTransactionStatus":{"name":"authenticationTransactionStatus","abstract":"
On authentication, the transaction status result identifier.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)authenticationTransactionStatusReason":{"name":"authenticationTransactionStatusReason","abstract":"
On authentication, provides additional information as to why the transaction status has the specific value.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)cavv":{"name":"cavv","abstract":"
Cardholder authentication verification value or “CAVV” is the main encrypted message issuers and card networks use to verify authentication has occured.","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)dsTransactionID":{"name":"dsTransactionID","abstract":"
Directory Server Transaction ID is an ID used by the card brand’s 3DS directory server.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)eciFlag":{"name":"eciFlag","abstract":"
The ecommerce indicator flag indicates the outcome of the 3DS authentication.","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)enrolled":{"name":"enrolled","abstract":"
Indicates whether a card is enrolled in a 3D Secure program or not. Possible values:
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)liabilityShifted":{"name":"liabilityShifted","abstract":"
If the 3D Secure liability shift has occurred.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)liabilityShiftPossible":{"name":"liabilityShiftPossible","abstract":"
If the 3D Secure liability shift is possible.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)lookupTransactionStatus":{"name":"lookupTransactionStatus","abstract":"
On lookup, the transaction status result identifier.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)lookupTransactionStatusReason":{"name":"lookupTransactionStatusReason","abstract":"
On lookup, provides additional information as to why the transaction status has the specific value.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)paresStatus":{"name":"paresStatus","abstract":"
The Payer Authentication Response (PARes) Status, a transaction status result identifier. Possible Values:
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)status":{"name":"status","abstract":"
The 3D Secure status value.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)threeDSecureAuthenticationID":{"name":"threeDSecureAuthenticationID","abstract":"
Unique identifier assigned to the 3D Secure authentication performed for this transaction.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)threeDSecureServerTransactionID":{"name":"threeDSecureServerTransactionID","abstract":"
Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)threeDSecureVersion":{"name":"threeDSecureVersion","abstract":"
The 3DS version used in the authentication, example “1.0.2” or “2.1.0”.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)wasVerified":{"name":"wasVerified","abstract":"
Indicates if the 3D Secure lookup was performed.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)xid":{"name":"xid","abstract":"
Transaction identifier resulting from 3D Secure authentication. Uniquely identifies the transaction and sometimes required in the authorization message.","parent_name":"BTThreeDSecureInfo"},"Classes/BTCardRequest.html#/c:@M@BraintreeCard@objc(cs)BTCardRequest(py)card":{"name":"card","abstract":"
The BTCard
associated with this instance.
","parent_name":"BTCardRequest"},"Classes/BTCardRequest.html#/c:@M@BraintreeCard@objc(cs)BTCardRequest(im)initWithCard:":{"name":"init(card:)","abstract":"
Initialize a Card request with a BTCard
.
","parent_name":"BTCardRequest"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)cardNetwork":{"name":"cardNetwork","abstract":"
The card network.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)expirationMonth":{"name":"expirationMonth","abstract":"
The expiration month of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)expirationYear":{"name":"expirationYear","abstract":"
The expiration year of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)cardholderName":{"name":"cardholderName","abstract":"
The name of the cardholder, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)lastTwo":{"name":"lastTwo","abstract":"
The last two digits of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)lastFour":{"name":"lastFour","abstract":"
The last four digits of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)bin":{"name":"bin","abstract":"
The BIN number of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)binData":{"name":"binData","abstract":"
The BIN data for the card number associated with this nonce.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)threeDSecureInfo":{"name":"threeDSecureInfo","abstract":"
The 3D Secure info for the card number associated with this nonce.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)authenticationInsight":{"name":"authenticationInsight","abstract":"
Details about the regulatory environment and applicable customer authentication regulation for a potential transaction.","parent_name":"BTCardNonce"},"Classes/BTCardClient.html#/c:@M@BraintreeCard@objc(cs)BTCardClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates a card client
","parent_name":"BTCardClient"},"Classes/BTCardClient.html#/c:@M@BraintreeCard@objc(cs)BTCardClient(im)tokenizeCard:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenizes a card
","parent_name":"BTCardClient"},"Classes/BTCardClient.html#/s:13BraintreeCard12BTCardClientC8tokenizeyAA0C5NonceCAA0C0CYaKF":{"name":"tokenize(_:)","abstract":"
Tokenizes a card
","parent_name":"BTCardClient"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)number":{"name":"number","abstract":"
The card number
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)expirationMonth":{"name":"expirationMonth","abstract":"
The expiration month as a one or two-digit number on the Gregorian calendar
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)expirationYear":{"name":"expirationYear","abstract":"
The expiration year as a two or four-digit number on the Gregorian calendar
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)cvv":{"name":"cvv","abstract":"
The card verification code (like CVV or CID).
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)postalCode":{"name":"postalCode","abstract":"
The postal code associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)cardholderName":{"name":"cardholderName","abstract":"
Optional: the cardholder’s name.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)firstName":{"name":"firstName","abstract":"
Optional: first name on the card.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)lastName":{"name":"lastName","abstract":"
Optional: last name on the card.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)company":{"name":"company","abstract":"
Optional: company name associated with the card.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)streetAddress":{"name":"streetAddress","abstract":"
Optional: the street address associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)extendedAddress":{"name":"extendedAddress","abstract":"
Optional: the extended address associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)locality":{"name":"locality","abstract":"
Optional: the city associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)region":{"name":"region","abstract":"
Optional: either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryName":{"name":"countryName","abstract":"
Optional: the country name associated with the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryCodeAlpha2":{"name":"countryCodeAlpha2","abstract":"
Optional: the ISO 3166-1 alpha-2 country code specified in the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryCodeAlpha3":{"name":"countryCodeAlpha3","abstract":"
Optional: the ISO 3166-1 alpha-3 country code specified in the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryCodeNumeric":{"name":"countryCodeNumeric","abstract":"
Optional: The ISO 3166-1 numeric country code specified in the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)shouldValidate":{"name":"shouldValidate","abstract":"
Controls whether or not to return validations and/or verification results. By default, this is not enabled.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)authenticationInsightRequested":{"name":"authenticationInsightRequested","abstract":"
Optional: If authentication insight is requested. If this property is set to true, a merchantAccountID
must be provided. Defaults to false.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional: The merchant account ID.
","parent_name":"BTCard"},"Classes/BTAuthenticationInsight.html#/c:@M@BraintreeCard@objc(cs)BTAuthenticationInsight(py)regulationEnvironment":{"name":"regulationEnvironment","abstract":"
The regulation environment for the associated nonce to help determine the need for 3D Secure.","parent_name":"BTAuthenticationInsight"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(py)toolbarCustomization":{"name":"toolbarCustomization","abstract":"
Toolbar customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(py)labelCustomization":{"name":"labelCustomization","abstract":"
Label customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(py)textBoxCustomization":{"name":"textBoxCustomization","abstract":"
Text box customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(im)setButtonCustomization:buttonType:":{"name":"setButton(_:buttonType:)","abstract":"
Set button customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(py)backgroundColor":{"name":"backgroundColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(py)headerText":{"name":"headerText","abstract":"
Text for the header.
","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(py)buttonText":{"name":"buttonText","abstract":"
Text for the button. For example, “Cancel”.
","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(py)borderWidth":{"name":"borderWidth","abstract":"
Width (integer value) of the text box border.
","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(py)borderColor":{"name":"borderColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(py)cornerRadius":{"name":"cornerRadius","abstract":"
Radius (integer value) for the text box corners.
","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(py)headingTextColor":{"name":"headingTextColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(py)headingTextFontName":{"name":"headingTextFontName","abstract":"
Font type for the heading label text.
","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(py)headingTextFontSize":{"name":"headingTextFontSize","abstract":"
Font size for the heading label text.
","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2ButtonCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ButtonCustomization(py)backgroundColor":{"name":"backgroundColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2ButtonCustomization"},"Classes/BTThreeDSecureV2ButtonCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ButtonCustomization(py)cornerRadius":{"name":"cornerRadius","abstract":"
Radius (integer value) for the button corners.
","parent_name":"BTThreeDSecureV2ButtonCustomization"},"Classes/BTThreeDSecureV2ButtonCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ButtonCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2ButtonCustomization"},"Classes/BTThreeDSecureV2BaseCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2BaseCustomization(py)textFontName":{"name":"textFontName","abstract":"
Font type for the UI element.
","parent_name":"BTThreeDSecureV2BaseCustomization"},"Classes/BTThreeDSecureV2BaseCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2BaseCustomization(py)textColor":{"name":"textColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2BaseCustomization"},"Classes/BTThreeDSecureV2BaseCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2BaseCustomization(py)textFontSize":{"name":"textFontSize","abstract":"
Font size for the UI element.
","parent_name":"BTThreeDSecureV2BaseCustomization"},"Classes/BTThreeDSecureResult.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureResult(py)tokenizedCard":{"name":"tokenizedCard","abstract":"
The BTCardNonce
resulting from the 3D Secure flow
","parent_name":"BTThreeDSecureResult"},"Classes/BTThreeDSecureResult.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureResult(py)lookup":{"name":"lookup","abstract":"
The result of a 3D Secure lookup. Contains liability shift and challenge information.
","parent_name":"BTThreeDSecureResult"},"Classes/BTThreeDSecureResult.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureResult(py)errorMessage":{"name":"errorMessage","abstract":"
The error message when the 3D Secure flow is unsuccessful
","parent_name":"BTThreeDSecureResult"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)nonce":{"name":"nonce","abstract":"
A nonce to be verified by ThreeDSecure
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)amount":{"name":"amount","abstract":"
The amount for the transaction
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)accountType":{"name":"accountType","abstract":"
Optional. The account type selected by the cardholder
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)billingAddress":{"name":"billingAddress","abstract":"
Optional. The billing address used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)mobilePhoneNumber":{"name":"mobilePhoneNumber","abstract":"
Optional. The mobile phone number used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)email":{"name":"email","abstract":"
Optional. The email used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)shippingMethod":{"name":"shippingMethod","abstract":"
Optional. The shipping method chosen for the transaction
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)additionalInformation":{"name":"additionalInformation","abstract":"
Optional. The additional information used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)challengeRequested":{"name":"challengeRequested","abstract":"
Optional. If set to true, an authentication challenge will be forced if possible.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)exemptionRequested":{"name":"exemptionRequested","abstract":"
Optional. If set to true, an exemption to the authentication challenge will be requested.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)requestedExemptionType":{"name":"requestedExemptionType","abstract":"
Optional. The exemption type to be requested. If an exemption is requested and the exemption’s conditions are satisfied, then it will be applied.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)dataOnlyRequested":{"name":"dataOnlyRequested","abstract":"
Optional. Indicates whether to use the data only flow. In this flow, frictionless 3DS is ensured for Mastercard cardholders as the card scheme provides a risk score","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)cardAddChallenge":{"name":"cardAddChallenge","abstract":"
Optional. An authentication created using this property should only be used for adding a payment method to the merchant’s vault and not for creating transactions.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)v2UICustomization":{"name":"v2UICustomization","abstract":"
Optional. UI Customization for 3DS2 challenge views.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)threeDSecureRequestDelegate":{"name":"threeDSecureRequestDelegate","abstract":"
A delegate for receiving information about the ThreeDSecure payment flow.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)givenName":{"name":"givenName","abstract":"
Optional. Given name associated with the address
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)surname":{"name":"surname","abstract":"
Optional. Surname associated with the address
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)streetAddress":{"name":"streetAddress","abstract":"
Optional. Line 1 of the Address (eg. number, street, etc)
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)extendedAddress":{"name":"extendedAddress","abstract":"
Optional. Line 2 of the Address (eg. suite, apt #, etc.)
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)line3":{"name":"line3","abstract":"
Optional. Line 3 of the Address (eg. suite, apt #, etc.)
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)locality":{"name":"locality","abstract":"
Optional. City name
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)region":{"name":"region","abstract":"
Optional. Either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)postalCode":{"name":"postalCode","abstract":"
Optional. Zip code or equivalent is usually required for countries that have them.","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)countryCodeAlpha2":{"name":"countryCodeAlpha2","abstract":"
Optional. 2 letter country code
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)phoneNumber":{"name":"phoneNumber","abstract":"
Optional. The phone number associated with the address
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@CM@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(im)copyWithZone:":{"name":"copy(with:)","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)paReq":{"name":"paReq","abstract":"
The “PAReq” or “Payment Authentication Request” is the encoded request message used to initiate authentication.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)md":{"name":"md","abstract":"
The unique 3DS identifier assigned by Braintree to track the 3DS call as it progresses.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)acsURL":{"name":"acsURL","abstract":"
The URL which the customer will be redirected to for a 3DS Interface.","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)termURL":{"name":"termURL","abstract":"
The termURL is the fully qualified URL that the customer will be redirected to once the authentication completes.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)threeDSecureVersion":{"name":"threeDSecureVersion","abstract":"
The full version string of the 3DS lookup result.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)isThreeDSecureVersion2":{"name":"isThreeDSecureVersion2","abstract":"
Indicates a 3DS 2 lookup result.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)transactionID":{"name":"transactionID","abstract":"
This a secondary unique 3DS identifier assigned by Braintree to track the 3DS call as it progresses.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)requiresUserAuthentication":{"name":"requiresUserAuthentication","abstract":"
Indicates that a 3DS challenge is required.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initialize a new BTThreeDSecureClient instance.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)startPaymentFlow:completion:":{"name":"startPaymentFlow(_:completion:)","abstract":"
Starts the 3DS flow using a BTThreeDSecureRequest.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)prepareLookup:completion:":{"name":"prepareLookup(_:completion:)","abstract":"
Creates a stringified JSON object containing the information necessary to perform a lookup.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)prepareLookup:completionHandler:":{"name":"prepareLookup(_:)","abstract":"
Creates a stringified JSON object containing the information necessary to perform a lookup.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)initializeChallengeWithLookupResponse:request:completion:":{"name":"initializeChallenge(lookupResponse:request:completion:)","abstract":"
Initialize a challenge from a server side lookup call.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)initializeChallengeWithLookupResponse:request:completionHandler:":{"name":"initializeChallenge(lookupResponse:request:)","abstract":"
Initialize a challenge from a server side lookup call.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingAddress":{"name":"shippingAddress","abstract":"
Optional. The shipping address used for verification
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingMethodIndicator":{"name":"shippingMethodIndicator","abstract":"
Optional. The 2-digit string indicating the shipping method chosen for the transaction
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)productCode":{"name":"productCode","abstract":"
Optional. The 3-letter string representing the merchant product code
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)deliveryTimeframe":{"name":"deliveryTimeframe","abstract":"
Optional. The 2-digit number indicating the delivery timeframe
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)deliveryEmail":{"name":"deliveryEmail","abstract":"
Optional. For electronic delivery, email address to which the merchandise was delivered
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)reorderIndicator":{"name":"reorderIndicator","abstract":"
Optional. The 2-digit number indicating whether the cardholder is reordering previously purchased merchandise
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)preorderIndicator":{"name":"preorderIndicator","abstract":"
Optional. The 2-digit number indicating whether the cardholder is placing an order with a future availability or release date
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)preorderDate":{"name":"preorderDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating expected date that a pre-ordered purchase will be available
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)giftCardAmount":{"name":"giftCardAmount","abstract":"
Optional. The purchase amount total for prepaid gift cards in major units
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)giftCardCurrencyCode":{"name":"giftCardCurrencyCode","abstract":"
Optional. ISO 4217 currency code for the gift card purchased
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)giftCardCount":{"name":"giftCardCount","abstract":"
Optional. Total count of individual prepaid gift cards purchased
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountAgeIndicator":{"name":"accountAgeIndicator","abstract":"
Optional. The 2-digit value representing the length of time since the last change to the cardholder account. This includes shipping address, new payment account or new user added.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountCreateDate":{"name":"accountCreateDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the cardholder’s account was last changed.","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountChangeIndicator":{"name":"accountChangeIndicator","abstract":"
Optional. The 2-digit value representing the length of time since the last change to the cardholder account. This includes shipping address, new payment account or new user added.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountChangeDate":{"name":"accountChangeDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the cardholder’s account was last changed.","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountPwdChangeIndicator":{"name":"accountPwdChangeIndicator","abstract":"
Optional. The 2-digit value representing the length of time since the cardholder changed or reset the password on the account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountPwdChangeDate":{"name":"accountPwdChangeDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the cardholder last changed or reset password on account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingAddressUsageIndicator":{"name":"shippingAddressUsageIndicator","abstract":"
Optional. The 2-digit value indicating when the shipping address used for transaction was first used.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingAddressUsageDate":{"name":"shippingAddressUsageDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date when the shipping address used for this transaction was first used.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)transactionCountDay":{"name":"transactionCountDay","abstract":"
Optional. Number of transactions (successful or abandoned) for this cardholder account within the last 24 hours.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)transactionCountYear":{"name":"transactionCountYear","abstract":"
Optional. Number of transactions (successful or abandoned) for this cardholder account within the last year.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)addCardAttempts":{"name":"addCardAttempts","abstract":"
Optional. Number of add card attempts in the last 24 hours.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountPurchases":{"name":"accountPurchases","abstract":"
Optional. Number of purchases with this cardholder account during the previous six months.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)fraudActivity":{"name":"fraudActivity","abstract":"
Optional. The 2-digit value indicating whether the merchant experienced suspicious activity (including previous fraud) on the account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingNameIndicator":{"name":"shippingNameIndicator","abstract":"
Optional. The 2-digit value indicating if the cardholder name on the account is identical to the shipping name used for the transaction.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)paymentAccountIndicator":{"name":"paymentAccountIndicator","abstract":"
Optional. The 2-digit value indicating the length of time that the payment account was enrolled in the merchant account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)paymentAccountAge":{"name":"paymentAccountAge","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the payment account was added to the cardholder account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)addressMatch":{"name":"addressMatch","abstract":"
Optional. The 1-character value (Y/N) indicating whether cardholder billing and shipping addresses match.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountID":{"name":"accountID","abstract":"
Optional. Additional cardholder account information.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)ipAddress":{"name":"ipAddress","abstract":"
Optional. The IP address of the consumer. IPv4 and IPv6 are supported.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)orderDescription":{"name":"orderDescription","abstract":"
Optional. Brief description of items purchased.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)taxAmount":{"name":"taxAmount","abstract":"
Optional. Unformatted tax amount without any decimalization (ie. $123.67 = 12367).
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)userAgent":{"name":"userAgent","abstract":"
Optional. The exact content of the HTTP user agent header.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)authenticationIndicator":{"name":"authenticationIndicator","abstract":"
Optional. The 2-digit number indicating the type of authentication request.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)installment":{"name":"installment","abstract":"
Optional. An integer value greater than 1 indicating the maximum number of permitted authorizations for installment payments.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)purchaseDate":{"name":"purchaseDate","abstract":"
Optional. The 14-digit number (format: YYYYMMDDHHMMSS) indicating the date in UTC of original purchase.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)recurringEnd":{"name":"recurringEnd","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date after which no further recurring authorizations should be performed.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)recurringFrequency":{"name":"recurringFrequency","abstract":"
Optional. Integer value indicating the minimum number of days between recurring authorizations.","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)sdkMaxTimeout":{"name":"sdkMaxTimeout","abstract":"
Optional. The 2-digit number of minutes (minimum 05) to set the maximum amount of time for all 3DS 2.0 messages to be communicated between all components.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)workPhoneNumber":{"name":"workPhoneNumber","abstract":"
Optional. The work phone number used for verification. Only numbers; remove dashes, parenthesis and other characters.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)billingAddress":{"name":"billingAddress","abstract":"
The billing address.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)clientMetadataID":{"name":"clientMetadataID","abstract":"
Client Metadata ID associated with this transaction.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)email":{"name":"email","abstract":"
Payer’s email address.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)firstName":{"name":"firstName","abstract":"
Payer’s first name.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)lastName":{"name":"lastName","abstract":"
Payer’s last name.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)nonce":{"name":"nonce","abstract":"
The one-time use payment method nonce.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)payerID":{"name":"payerID","abstract":"
Payer ID associated with this transaction.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)phone":{"name":"phone","abstract":"
Payer’s phone number.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)shippingAddress":{"name":"shippingAddress","abstract":"
The shipping address.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)type":{"name":"type","abstract":"
The type of the tokenized payment.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)paymentType":{"name":"paymentType","abstract":"
The type of payment.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)paymentTypeCountryCode":{"name":"paymentTypeCountryCode","abstract":"
The country code of the local payment.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional: The address of the customer. An error will occur if this address is not valid.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)address":{"name":"address","abstract":"
Optional: The address of the customer. An error will occur if this address is not valid.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)amount":{"name":"amount","abstract":"
The amount for the transaction.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)currencyCode":{"name":"currencyCode","abstract":"
Optional: A valid ISO currency code to use for the transaction. Defaults to merchant currency code if not set.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)displayName":{"name":"displayName","abstract":"
Optional: The merchant name displayed inside of the local payment flow.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)email":{"name":"email","abstract":"
Optional: Payer email of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)givenName":{"name":"givenName","abstract":"
Optional: Given (first) name of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)surname":{"name":"surname","abstract":"
Optional: Surname (last name) of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)phone":{"name":"phone","abstract":"
Optional: Phone number of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)isShippingAddressRequired":{"name":"isShippingAddressRequired","abstract":"
Indicates whether or not the payment needs to be shipped. For digital goods, this should be false. Defaults to false.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)bic":{"name":"bic","abstract":"
Optional: Bank Identification Code of the customer (specific to iDEAL transactions).
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)localPaymentFlowDelegate":{"name":"localPaymentFlowDelegate","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentClient.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initialize a new BTLocalPaymentClient
instance.
","parent_name":"BTLocalPaymentClient"},"Classes/BTLocalPaymentClient.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentClient(im)startPaymentFlow:completion:":{"name":"startPaymentFlow(_:completion:)","abstract":"
Starts a payment flow using a BTLocalPaymentRequest
","parent_name":"BTLocalPaymentClient"},"Classes/BTLocalPaymentClient.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentClient(im)startPaymentFlow:completionHandler:":{"name":"startPaymentFlow(_:)","abstract":"
Starts a payment flow using a BTLocalPaymentRequest
","parent_name":"BTLocalPaymentClient"},"Classes/BTApplePayClient.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates an Apple Pay client
","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayClient(im)makePaymentRequest:":{"name":"makePaymentRequest(completion:)","abstract":"
Creates a PKPaymentRequest
with values from your Braintree Apple Pay configuration.","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/s:17BraintreeApplePay07BTAppleC6ClientC18makePaymentRequestSo09PKPaymentH0CyYaKF":{"name":"makePaymentRequest()","abstract":"
Creates a PKPaymentRequest
with values from your Braintree Apple Pay configuration.","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayClient(im)tokenizeApplePayPayment:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenizes an Apple Pay payment.
","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/s:17BraintreeApplePay07BTAppleC6ClientC8tokenizeyAA0dC9CardNonceCSo9PKPaymentCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenizes an Apple Pay payment.
","parent_name":"BTApplePayClient"},"Classes/BTApplePayCardNonce.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayCardNonce(py)binData":{"name":"binData","abstract":"
The BIN data for the card number associated with this nonce.
","parent_name":"BTApplePayCardNonce"},"Classes/BTDataCollector.html#/c:@M@BraintreeDataCollector@objc(cs)BTDataCollector(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initializes a BTDataCollector
instance with a BTAPIClient
.
","parent_name":"BTDataCollector"},"Classes/BTDataCollector.html#/c:@M@BraintreeDataCollector@objc(cs)BTDataCollector(im)clientMetadataID:":{"name":"clientMetadataID(_:)","abstract":"
Returns a client metadata ID.
","parent_name":"BTDataCollector"},"Classes/BTDataCollector.html#/c:@M@BraintreeDataCollector@objc(cs)BTDataCollector(im)collectDeviceData:":{"name":"collectDeviceData(_:)","abstract":"
Collects device data based on your merchant configuration.
","parent_name":"BTDataCollector"},"Classes/BTDataCollector.html#/s:22BraintreeDataCollector06BTDataC0C013collectDeviceB0SSyYaKF":{"name":"collectDeviceData()","abstract":"
Collects device data based on your merchant configuration.
","parent_name":"BTDataCollector"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)errorCode":{"name":"errorCode","abstract":"
Optional. An error code when there was an issue fetching the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)errorMessage":{"name":"errorMessage","abstract":"
Optional. An error message when there was an issue fetching the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)conversionRate":{"name":"conversionRate","abstract":"
Optional. The conversion rate associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)currencyAmount":{"name":"currencyAmount","abstract":"
Optional. The currency amount associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)currencyIsoCode":{"name":"currencyIsoCode","abstract":"
Optional. The currency ISO code associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)requestID":{"name":"requestID","abstract":"
Optional. The request ID used when fetching the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)rewardsAmount":{"name":"rewardsAmount","abstract":"
Optional. The rewards amount associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)rewardsUnit":{"name":"rewardsUnit","abstract":"
Optional. The rewards unit associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressClient.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates an American Express client.
","parent_name":"BTAmericanExpressClient"},"Classes/BTAmericanExpressClient.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressClient(im)getRewardsBalanceForNonce:currencyIsoCode:completion:":{"name":"getRewardsBalance(forNonce:currencyISOCode:completion:)","abstract":"
Gets the rewards balance associated with a Braintree nonce. Only for American Express cards.
","parent_name":"BTAmericanExpressClient"},"Classes/BTAmericanExpressClient.html#/s:24BraintreeAmericanExpress010BTAmericanC6ClientC17getRewardsBalance8forNonce15currencyISOCodeAA0dcgH0CSS_SStYaKF":{"name":"getRewardsBalance(forNonce:currencyISOCode:)","abstract":"
Gets the rewards balance associated with a Braintree nonce. Only for American Express cards.
","parent_name":"BTAmericanExpressClient"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)accountHolderName":{"name":"accountHolderName","abstract":"
Required. The account holder name.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)iban":{"name":"iban","abstract":"
Required. The full IBAN.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)customerID":{"name":"customerID","abstract":"
Required. The customer ID.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC7RequestC11mandateTypeAA0dc7MandateG0OSgvp":{"name":"mandateType","abstract":"
Optional. The BTSEPADebitMandateType
. If not set, defaults to .oneOff
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)billingAddress":{"name":"billingAddress","abstract":"
Required. The user’s billing address.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional. A non-default merchant account to use for tokenization.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC7RequestC17accountHolderName4iban10customerID11mandateType14billingAddress015merchantAccountK0ACSSSg_A2jA0dc7MandateM0OSg0A4Core08BTPostalO0CSgAJtcfc":{"name":"init(accountHolderName:iban:customerID:mandateType:billingAddress:merchantAccountID:)","abstract":"
Initialize a new SEPA Direct Debit request.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitNonce.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitNonce(py)ibanLastFour":{"name":"ibanLastFour","abstract":"
The IBAN last four characters.
","parent_name":"BTSEPADirectDebitNonce"},"Classes/BTSEPADirectDebitNonce.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitNonce(py)customerID":{"name":"customerID","abstract":"
The customer ID.
","parent_name":"BTSEPADirectDebitNonce"},"Classes/BTSEPADirectDebitNonce.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC5NonceC11mandateTypeAA0dc7MandateG0OSgvp":{"name":"mandateType","abstract":"
The BTSEPADebitMandateType
.
","parent_name":"BTSEPADirectDebitNonce"},"Classes/BTSEPADirectDebitClient.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates a SEPA Direct Debit client.
","parent_name":"BTSEPADirectDebitClient"},"Classes/BTSEPADirectDebitClient.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitClient(im)tokenizeWithSEPADirectDebitRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Initiates an ASWebAuthenticationSession
to display a mandate to the user. Upon successful mandate creation, tokenizes the payment method and returns a result
","parent_name":"BTSEPADirectDebitClient"},"Classes/BTSEPADirectDebitClient.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC6ClientC8tokenizeyAA0dC5NonceCAA0dC7RequestCYaKF":{"name":"tokenize(_:)","abstract":"
Initiates an ASWebAuthenticationSession
to display a mandate to the user. Upon successful mandate creation, tokenizes the payment method and returns a result
","parent_name":"BTSEPADirectDebitClient"},"Classes/BTPayPalNativeVaultRequest.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeVaultRequest(im)initWithOfferCredit:billingAgreementDescription:":{"name":"init(offerCredit:billingAgreementDescription:)","abstract":"
Initializes a PayPal Native Vault request
","parent_name":"BTPayPalNativeVaultRequest"},"Classes/BTPayPalNativeCheckoutRequest.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutRequest(im)initWithAmount:intent:offerPayLater:currencyCode:requestBillingAgreement:billingAgreementDescription:":{"name":"init(amount:intent:offerPayLater:currencyCode:requestBillingAgreement:billingAgreementDescription:)","abstract":"
Initializes a PayPal Native Checkout request
","parent_name":"BTPayPalNativeCheckoutRequest"},"Classes/BTPayPalNativeCheckoutClient.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initializes a PayPal Native client.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutClient(im)tokenizeWithNativeCheckoutRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Checkout flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/s:29BraintreePayPalNativeCheckout05BTPaycdE6ClientC8tokenizeyAA0fcdE12AccountNonceCAA0fcdE7RequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Checkout flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutClient(im)tokenizeWithNativeVaultRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Vault flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/s:29BraintreePayPalNativeCheckout05BTPaycdE6ClientC8tokenizeyAA0fcdE12AccountNonceCAA0fcD12VaultRequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Vault flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)email":{"name":"email","abstract":"
Payer’s email address.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)firstName":{"name":"firstName","abstract":"
Payer’s first name.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)lastName":{"name":"lastName","abstract":"
Payer’s last name.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)phone":{"name":"phone","abstract":"
Payer’s phone number.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)billingAddress":{"name":"billingAddress","abstract":"
The billing address.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)shippingAddress":{"name":"shippingAddress","abstract":"
The shipping address.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)clientMetadataID":{"name":"clientMetadataID","abstract":"
Client metadata id associated with this transaction.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)payerID":{"name":"payerID","abstract":"
Optional. Payer id associated with this transaction.","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTURLUtils.html#/c:@M@BraintreeCore@objc(cs)BTURLUtils(cm)queryStringWithDictionary:":{"name":"queryString(from:)","abstract":"
Converts a key/value dictionary to a valid query string
","parent_name":"BTURLUtils"},"Classes/BTURLUtils.html#/c:@M@BraintreeCore@objc(cs)BTURLUtils(cm)queryParametersForURL:":{"name":"queryParameters(for:)","abstract":"
Extract query parameters from a URL
","parent_name":"BTURLUtils"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)recipientName":{"name":"recipientName","abstract":"
Optional. Recipient name for shipping address.
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)streetAddress":{"name":"streetAddress","abstract":"
Line 1 of the Address (eg. number, street, etc).
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)extendedAddress":{"name":"extendedAddress","abstract":"
Optional line 2 of the Address (eg. suite, apt #, etc.).
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)locality":{"name":"locality","abstract":"
City name
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)countryCodeAlpha2":{"name":"countryCodeAlpha2","abstract":"
2 letter country code.
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)postalCode":{"name":"postalCode","abstract":"
Zip code or equivalent is usually required for countries that have them.","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)region":{"name":"region","abstract":"
Either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(im)copyWithZone:":{"name":"copy(with:)","parent_name":"BTPostalAddress"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(cpy)sharedParser":{"name":"shared","abstract":"
The singleton instance
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(py)allTypes":{"name":"allTypes","abstract":"
An array of the tokenization types currently registered
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(im)isTypeAvailable:":{"name":"isTypeAvailable(_:)","abstract":"
Indicates whether a tokenization type is currently registered
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(im)registerType:withParsingBlock:":{"name":"registerType(_:withParsingBlock:)","abstract":"
Registers a parsing block for a tokenization type.
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(im)parseJSON:withParsingBlockForType:":{"name":"parseJSON(_:withParsingBlockForType:)","abstract":"
Parses tokenized payment information that has been serialized to JSON, and returns a BTPaymentMethodNonce
object.
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(py)nonce":{"name":"nonce","abstract":"
The payment method nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(py)type":{"name":"type","abstract":"
The string identifying the type of the payment method.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(py)isDefault":{"name":"isDefault","abstract":"
The boolean indicating whether this is a default payment method.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(im)initWithNonce:":{"name":"init(nonce:)","abstract":"
Initialize a new Payment Method Nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(im)initWithNonce:type:":{"name":"init(nonce:type:)","abstract":"
Initialize a new Payment Method Nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(im)initWithNonce:type:isDefault:":{"name":"init(nonce:type:isDefault:)","abstract":"
Initialize a new Payment Method Nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTLogLevelDescription.html#/c:@M@BraintreeCore@objc(cs)BTLogLevelDescription(cm)stringFor:":{"name":"string(for:)","parent_name":"BTLogLevelDescription"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)init":{"name":"init()","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)initWithValue:":{"name":"init(value:)","abstract":"
Initialize with a value.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)initWithData:":{"name":"init(data:)","abstract":"
Initialize with data.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isString":{"name":"isString","abstract":"
Checks if the BTJSON
is a String
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isBool":{"name":"isBool","abstract":"
Checks if the BTJSON
is a Bool
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isNumber":{"name":"isNumber","abstract":"
Checks if the BTJSON
is a NSNumber
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isArray":{"name":"isArray","abstract":"
Checks if the BTJSON
is a [Any]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isObject":{"name":"isObject","abstract":"
Checks if the BTJSON
is a [String: Any]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isError":{"name":"isError","abstract":"
Checks if the BTJSON
is an error.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isTrue":{"name":"isTrue","abstract":"
Checks if the BTJSON
is a value representing true
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isFalse":{"name":"isFalse","abstract":"
Checks if the BTJSON
is a value representing false
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isNull":{"name":"isNull","abstract":"
Checks if the BTJSON
is a value representing nil
","parent_name":"BTJSON"},"Classes/BTJSON.html#/s:13BraintreeCore6BTJSONCyACSicip":{"name":"subscript(_:)","abstract":"
Indexes into the JSON as if the current value is an object
","parent_name":"BTJSON"},"Classes/BTJSON.html#/s:13BraintreeCore6BTJSONCyACSScip":{"name":"subscript(_:)","abstract":"
Indexes into the JSON as if the current value is an array
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asError":{"name":"asError()","abstract":"
The BTJSON
as a NSError
.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asString":{"name":"asString()","abstract":"
The BTJSON
as a String
","parent_name":"BTJSON"},"Classes/BTJSON.html#/s:13BraintreeCore6BTJSONC6asBoolSbSgyF":{"name":"asBool()","abstract":"
The BTJSON
as a Bool
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asArray":{"name":"asArray()","abstract":"
The BTJSON
as a [BTJSON]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asNumber":{"name":"asNumber()","abstract":"
The BTJSON
as a NSNumber
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asURL":{"name":"asURL()","abstract":"
The BTJSON
as a URL
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asStringArray":{"name":"asStringArray()","abstract":"
The BTJSON
as a [String]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asDictionary":{"name":"asDictionary()","abstract":"
The BTJSON
as a NSDictionary
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asIntegerOrZero":{"name":"asIntegerOrZero()","abstract":"
The BTJSON
as a Int
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asEnum:orDefault:":{"name":"asEnum(_:orDefault:)","abstract":"
The BTJSON
as an Enum
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asAddress":{"name":"asAddress()","abstract":"
The BTJSON
as a BTPostalAddress
","parent_name":"BTJSON"},"Classes/BTConfiguration.html#/c:@M@BraintreeCore@objc(cs)BTConfiguration(py)json":{"name":"json","abstract":"
The merchant account’s configuration as a BTJSON
object
","parent_name":"BTConfiguration"},"Classes/BTConfiguration.html#/c:@M@BraintreeCore@objc(cs)BTConfiguration(py)environment":{"name":"environment","abstract":"
The environment (production or sandbox)
","parent_name":"BTConfiguration"},"Classes/BTConfiguration.html#/c:@M@BraintreeCore@objc(cs)BTConfiguration(im)initWithJSON:":{"name":"init(json:)","abstract":"
Used to initialize a BTConfiguration
","parent_name":"BTConfiguration"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)encodeWithCoder:":{"name":"encode(with:)","parent_name":"BTClientToken"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)initWithCoder:":{"name":"init(coder:)","parent_name":"BTClientToken"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)copyWithZone:":{"name":"copy(with:)","parent_name":"BTClientToken"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)isEqual:":{"name":"isEqual(_:)","parent_name":"BTClientToken"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)integration":{"name":"integration","abstract":"
Integration type
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)source":{"name":"source","abstract":"
Integration source
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)sessionID":{"name":"sessionID","abstract":"
Auto-generated UUID
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)integrationString":{"name":"integrationString","abstract":"
String representation of the integration
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)sourceString":{"name":"sourceString","abstract":"
String representation of the source
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)parameters":{"name":"parameters","abstract":"
Additional metadata parameters
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(im)init":{"name":"init()","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(im)mutableCopyWithZone:":{"name":"mutableCopy(with:)","abstract":"
Create a copy as BTMutableClientMetadata
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(im)copyWithZone:":{"name":"copy(with:)","abstract":"
Creates a copy of BTClientMetadata
","parent_name":"BTClientMetadata"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)prepaid":{"name":"prepaid","abstract":"
Whether the card is a prepaid card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)healthcare":{"name":"healthcare","abstract":"
Whether the card is a healthcare card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)debit":{"name":"debit","abstract":"
Whether the card is a debit card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)durbinRegulated":{"name":"durbinRegulated","abstract":"
A value indicating whether the issuing bank’s card range is regulated by the Durbin Amendment due to the bank’s assets. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)commercial":{"name":"commercial","abstract":"
Whether the card type is a commercial card and is capable of processing Level 2 transactions. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)payroll":{"name":"payroll","abstract":"
Whether the card is a payroll card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)issuingBank":{"name":"issuingBank","abstract":"
The bank that issued the credit card, if available.
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)countryOfIssuance":{"name":"countryOfIssuance","abstract":"
The country that issued the credit card, if available.
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)productID":{"name":"productID","abstract":"
The code for the product type of the card (e.g. D
(Visa Signature Preferred), G
(Visa Business)), if available.
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(im)initWithJSON:":{"name":"init(json:)","abstract":"
Create a BTBinData
object from JSON.
","parent_name":"BTBinData"},"Classes/BTAppContextSwitcher.html#/c:@M@BraintreeCore@objc(cs)BTAppContextSwitcher(cpy)sharedInstance":{"name":"sharedInstance","abstract":"
Singleton for shared instance of BTAppContextSwitcher
","parent_name":"BTAppContextSwitcher"},"Classes/BTAppContextSwitcher.html#/c:@M@BraintreeCore@objc(cs)BTAppContextSwitcher(py)returnURLScheme":{"name":"returnURLScheme","abstract":"
The URL scheme to return to this app after switching to another app or opening a SFSafariViewController.","parent_name":"BTAppContextSwitcher"},"Classes/BTAppContextSwitcher.html#/c:@M@BraintreeCore@objc(cs)BTAppContextSwitcher(im)registerAppContextSwitchClient:":{"name":"register(_:)","abstract":"
Registers a class Type
that can handle a return from app context switch with a static method.
","parent_name":"BTAppContextSwitcher"},"Classes/BTAPIPinnedCertificates.html#/c:@M@BraintreeCore@objc(cs)BTAPIPinnedCertificates(cm)trustedCertificates":{"name":"trustedCertificates()","parent_name":"BTAPIPinnedCertificates"},"Classes/BTAPIClient.html#/s:13BraintreeCore11BTAPIClientC17RequestCompletiona":{"name":"RequestCompletion","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(py)tokenizationKey":{"name":"tokenizationKey","abstract":"
The tokenization key used to authorize the APIClient
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(py)clientToken":{"name":"clientToken","abstract":"
The client token used to authorize the APIClient
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(py)metadata":{"name":"metadata","abstract":"
Client metadata that is used for tracking the client session
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)initWithAuthorization:":{"name":"init(authorization:)","abstract":"
Initialize a new API client.
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)fetchOrReturnRemoteConfiguration:":{"name":"fetchOrReturnRemoteConfiguration(_:)","abstract":"
Provides configuration data as a BTJSON
object.
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)fetchPaymentMethodNonces:":{"name":"fetchPaymentMethodNonces(_:)","abstract":"
Fetches a customer’s vaulted payment method nonces.","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)fetchPaymentMethodNonces:completion:":{"name":"fetchPaymentMethodNonces(_:completion:)","abstract":"
Fetches a customer’s vaulted payment method nonces.","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html":{"name":"BTAPIClient","abstract":"
This class acts as the entry point for accessing the Braintree APIs via common HTTP methods performed on API endpoints.
"},"Classes/BTAPIPinnedCertificates.html":{"name":"BTAPIPinnedCertificates","abstract":"
THIS CODE IS GENERATED BY codify_certificates.swift
"},"Classes/BTAppContextSwitcher.html":{"name":"BTAppContextSwitcher","abstract":"
Handles return URLs when returning from app context switch and routes the return URL to the correct app context switch client class.
"},"Classes/BTBinData.html":{"name":"BTBinData","abstract":"
Contains the bin data associated with a payment method
"},"Classes/BTClientMetadata.html":{"name":"BTClientMetadata","abstract":"
Represents the metadata associated with a session for posting along with payment data during tokenization.
"},"Classes/BTClientToken.html":{"name":"BTClientToken","abstract":"
An authorization string used to initialize the Braintree SDK
"},"Classes/BTConfiguration.html":{"name":"BTConfiguration","abstract":"
Contains information specific to a merchant’s Braintree integration
"},"Classes/BTJSON.html":{"name":"BTJSON","abstract":"
A type-safe wrapper around JSON"},"Classes/BTLogLevelDescription.html":{"name":"BTLogLevelDescription","abstract":"
Wrapper for accessing the string value of the log level
"},"Classes.html#/c:@M@BraintreeCore@objc(cs)BTMutableClientMetadata":{"name":"BTMutableClientMetadata","abstract":"
Required for Objective-C compatibility. Necessary behavior is provided by the swift version.
"},"Classes/BTPaymentMethodNonce.html":{"name":"BTPaymentMethodNonce","abstract":"
BTPaymentMethodNonce is for generic tokenized payment information.
"},"Classes/BTPaymentMethodNonceParser.html":{"name":"BTPaymentMethodNonceParser","abstract":"
A JSON parser that parses BTJSON
into concrete BTPaymentMethodNonce
objects. It supports registration of parsers at runtime.
"},"Classes/BTPostalAddress.html":{"name":"BTPostalAddress","abstract":"
Generic postal address
"},"Classes/BTURLUtils.html":{"name":"BTURLUtils","abstract":"
A helper class for converting URL queries to and from dictionaries
"},"Classes/BTPayPalNativeCheckoutAccountNonce.html":{"name":"BTPayPalNativeCheckoutAccountNonce","abstract":"
Contains information about a PayPal payment method.
"},"Classes/BTPayPalNativeCheckoutClient.html":{"name":"BTPayPalNativeCheckoutClient","abstract":"
Client used to collect PayPal payment methods. If possible, this client will present a native flow; otherwise, it will fall back to a web flow.
"},"Classes/BTPayPalNativeCheckoutRequest.html":{"name":"BTPayPalNativeCheckoutRequest","abstract":"
Options for the PayPal Checkout flow.
"},"Classes/BTPayPalNativeVaultRequest.html":{"name":"BTPayPalNativeVaultRequest","abstract":"
Options for the PayPal Vault flow.
"},"Classes/BTSEPADirectDebitClient.html":{"name":"BTSEPADirectDebitClient","abstract":"
Used to integrate with SEPA Direct Debit.
"},"Classes/BTSEPADirectDebitNonce.html":{"name":"BTSEPADirectDebitNonce","abstract":"
A payment method nonce representing a SEPA Direct Debit payment.
"},"Classes/BTSEPADirectDebitRequest.html":{"name":"BTSEPADirectDebitRequest","abstract":"
Parameters for creating a SEPA Direct Debit tokenization request.
"},"Classes/BTAmericanExpressClient.html":{"name":"BTAmericanExpressClient","abstract":"
BTAmericanExpressClient
enables you to look up the rewards balance of American Express cards.
"},"Classes/BTAmericanExpressRewardsBalance.html":{"name":"BTAmericanExpressRewardsBalance","abstract":"
Contains information about an American Express rewards balance.
"},"Classes/BTDataCollector.html":{"name":"BTDataCollector","abstract":"
Braintree’s advanced fraud protection solution.
"},"Classes/BTApplePayCardNonce.html":{"name":"BTApplePayCardNonce","abstract":"
Contains information about a tokenized Apple Pay card.
"},"Classes/BTApplePayClient.html":{"name":"BTApplePayClient","abstract":"
Used to process Apple Pay payments
"},"Classes/BTLocalPaymentClient.html":{"name":"BTLocalPaymentClient"},"Classes/BTLocalPaymentRequest.html":{"name":"BTLocalPaymentRequest","abstract":"
Used to initialize a local payment flow
"},"Classes/BTLocalPaymentResult.html":{"name":"BTLocalPaymentResult"},"Classes/BTThreeDSecureAdditionalInformation.html":{"name":"BTThreeDSecureAdditionalInformation","abstract":"
Additional information for a 3DS lookup. Used in 3DS 2.0+ flows.
"},"Classes/BTThreeDSecureClient.html":{"name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureLookup.html":{"name":"BTThreeDSecureLookup","abstract":"
The result of a 3DS lookup."},"Classes/BTThreeDSecurePostalAddress.html":{"name":"BTThreeDSecurePostalAddress","abstract":"
Postal address for 3D Secure flows
"},"Classes/BTThreeDSecureRequest.html":{"name":"BTThreeDSecureRequest","abstract":"
Used to initialize a 3D Secure payment flow
"},"Classes/BTThreeDSecureResult.html":{"name":"BTThreeDSecureResult","abstract":"
The result of a 3D Secure payment flow
"},"Classes/BTThreeDSecureV2BaseCustomization.html":{"name":"BTThreeDSecureV2BaseCustomization","abstract":"
Base customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2ButtonCustomization.html":{"name":"BTThreeDSecureV2ButtonCustomization","abstract":"
Button customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2LabelCustomization.html":{"name":"BTThreeDSecureV2LabelCustomization","abstract":"
Label customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2TextBoxCustomization.html":{"name":"BTThreeDSecureV2TextBoxCustomization","abstract":"
Text box customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2ToolbarCustomization.html":{"name":"BTThreeDSecureV2ToolbarCustomization","abstract":"
Toolbar customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2UICustomization.html":{"name":"BTThreeDSecureV2UICustomization","abstract":"
UI customization options for 3D Secure 2 flows.
"},"Classes/BTAuthenticationInsight.html":{"name":"BTAuthenticationInsight","abstract":"
Information pertaining to the regulatory environment for a credit card if authentication insight is requested during tokenization.
"},"Classes/BTCard.html":{"name":"BTCard","abstract":"
The card tokenization request represents raw credit or debit card data provided by the customer."},"Classes/BTCardClient.html":{"name":"BTCardClient","abstract":"
Used to process cards
"},"Classes/BTCardNonce.html":{"name":"BTCardNonce","abstract":"
Contains information about a tokenized card.
"},"Classes/BTCardRequest.html":{"name":"BTCardRequest","abstract":"
Contains information about a card to tokenize
"},"Classes/BTThreeDSecureInfo.html":{"name":"BTThreeDSecureInfo","abstract":"
Contains information about the 3D Secure status of a payment method
"},"Classes/BTPayPalAccountNonce.html":{"name":"BTPayPalAccountNonce","abstract":"
Contains information about a PayPal payment method
"},"Classes/BTPayPalCheckoutRequest.html":{"name":"BTPayPalCheckoutRequest","abstract":"
Options for the PayPal Checkout flow.
"},"Classes/BTPayPalClient.html":{"name":"BTPayPalClient"},"Classes/BTPayPalCreditFinancing.html":{"name":"BTPayPalCreditFinancing","abstract":"
Contains information about a PayPal credit financing option
"},"Classes/BTPayPalCreditFinancingAmount.html":{"name":"BTPayPalCreditFinancingAmount","abstract":"
Contains information about a PayPal credit amount
"},"Classes/BTPayPalLineItem.html":{"name":"BTPayPalLineItem","abstract":"
A PayPal line item to be displayed in the PayPal checkout flow.
"},"Classes/BTPayPalRequest.html":{"name":"BTPayPalRequest","abstract":"
Base options for PayPal Checkout and PayPal Vault flows.
"},"Classes/BTPayPalVaultRequest.html":{"name":"BTPayPalVaultRequest","abstract":"
Options for the PayPal Vault flow.
"},"Classes/BTVenmoAccountNonce.html":{"name":"BTVenmoAccountNonce","abstract":"
Contains information about a Venmo Account payment method
"},"Classes/BTVenmoClient.html":{"name":"BTVenmoClient","abstract":"
Used to process Venmo payments
"},"Classes/BTVenmoRequest.html":{"name":"BTVenmoRequest","abstract":"
A BTVenmoRequest specifies options that contribute to the Venmo flow
"},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"
The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"
The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"
The following protocols are available globally.
"}}
\ No newline at end of file
diff --git a/6.0.0-beta4/docsets/Braintree.docset/Contents/Resources/docSet.dsidx b/6.0.0-beta4/docsets/Braintree.docset/Contents/Resources/docSet.dsidx
new file mode 100644
index 0000000000..5f40fb88de
Binary files /dev/null and b/6.0.0-beta4/docsets/Braintree.docset/Contents/Resources/docSet.dsidx differ
diff --git a/6.0.0-beta4/docsets/Braintree.tgz b/6.0.0-beta4/docsets/Braintree.tgz
new file mode 100644
index 0000000000..e9fdc89e1f
Binary files /dev/null and b/6.0.0-beta4/docsets/Braintree.tgz differ
diff --git a/6.0.0-beta4/img/carat.png b/6.0.0-beta4/img/carat.png
new file mode 100755
index 0000000000..29d2f7fd49
Binary files /dev/null and b/6.0.0-beta4/img/carat.png differ
diff --git a/6.0.0-beta4/img/dash.png b/6.0.0-beta4/img/dash.png
new file mode 100755
index 0000000000..6f694c7a01
Binary files /dev/null and b/6.0.0-beta4/img/dash.png differ
diff --git a/6.0.0-beta4/img/gh.png b/6.0.0-beta4/img/gh.png
new file mode 100755
index 0000000000..628da97c70
Binary files /dev/null and b/6.0.0-beta4/img/gh.png differ
diff --git a/6.0.0-beta4/img/spinner.gif b/6.0.0-beta4/img/spinner.gif
new file mode 100644
index 0000000000..e3038d0a42
Binary files /dev/null and b/6.0.0-beta4/img/spinner.gif differ
diff --git a/6.0.0-beta4/index.html b/6.0.0-beta4/index.html
new file mode 100644
index 0000000000..5d0c498a9b
--- /dev/null
+++ b/6.0.0-beta4/index.html
@@ -0,0 +1,463 @@
+
+
+
+
Braintree Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Braintree Reference
+
+ Braintree Reference
+
+
+
+
+
+
+
+
+
+
+
+
Braintree iOS SDK
+
+
+
+
+
+
+
+
Welcome to Braintree’s iOS SDK. This library will help you accept card and alternative payments in your iOS app.
+
+
v6 is the latest major version of Braintree iOS and is currently in Beta. For stable releases, please point to v5 of the SDK. While preparing for general availability, we expect to make breaking changes in the beta releases. To update from v5, see the v6 migration guide .
+
+
The Braintree iOS SDK permits a deployment target of iOS 14.0 or higher . It requires Xcode 14.3+ and Swift 5.8+.
+
Supported Payment Methods
+
+
+
Installation
+
+
We recommend using Swift Package Manager , CocoaPods , or Carthage to integrate the Braintree SDK with your project.
+
Swift Package Manager
+
+
This feature is only available in v5+.
+
+
To add the Braintree
package to your Xcode project, select File > Swift Packages > Add Package Dependency and enter https://github.com/braintree/braintree_ios
as the repository URL. Tick the checkboxes for the specific Braintree libraries you wish to include.
+
+
If you look at your app target, you will see that the Braintree libraries you chose are automatically linked as a frameworks to your app (see General > Frameworks, Libraries, and Embedded Content ).
+
+
BraintreePayPal
and BraintreePaymentFlow
also require the inclusion of the PayPalDataCollector
module.
+
+
In your app’s source code files, use the following import syntax to include Braintree’s libraries:
+
import BraintreeCore
+import BraintreeCard
+import BraintreeApplePay
+import BraintreePayPal
+
+
CocoaPods
+
# Includes Cards and PayPal
+pod 'Braintree'
+
+# Optionally include additional Pods
+pod 'Braintree/DataCollector'
+pod 'Braintree/Venmo'
+
+
Carthage
+
+
Braintree 6.0.0+ requires Carthage 0.38.0+ and the --use-xcframeworks
option when running carthage update
.
+
+
Add github "braintree/braintree_ios"
to your Cartfile
, and add the frameworks to your project .
+
+
Note: Long term support for Carthage is not guaranteed. Please update to SPM, if possible. If there are concerns, please comment on this Discussion thread .
+
Documentation
+
+
Start with ‘Hello, Client!’ for instructions on basic setup and usage.
+
+
Next, read the full documentation for information about integrating with additional payment methods, such as PayPal and Venmo, as well as explore our pre-built Drop-In UI offering .
+
Versions
+
+
This SDK abides by our Client SDK Deprecation Policy. For more information on the potential statuses of an SDK check our developer docs .
+
+
+
+Major version number
+Status
+Released
+Deprecated
+Unsupported
+
+
+
+6.x.x
+Beta
+TBA
+TBA
+TBA
+
+
+5.x.x
+Active
+February 2021
+TBA
+TBA
+
+
+4.x.x
+Unsupported
+November 2015
+February 2022
+February 2023
+
+
+
+
Versions 4.9.6 and below use outdated SSL certificates and are unsupported.
+
Demo
+
+
+Run pod install
+
+
+There is a known M1 mac issue with CocoaPods. See this solution to resolve ffi
dependency issues.
+
+Resolve the Swift Package Manager packages if needed: File
> Packages
> Resolve Package Versions
or by running swift package resolve
in Terminal
+Open Braintree.xcworkspace
in Xcode
+Select the Demo
scheme, and then run
+
+
+
Xcode 14+ is required to run the demo app.
+
Contributing
+
+
We welcome PRs to this repo. See our development doc .
+
Feedback
+
+
The Braintree iOS SDK is in active development, we welcome your feedback!
+
+
Here are a few ways to get in touch:
+
+
+
Help
+
+
+
License
+
+
The Braintree iOS SDK is open source and available under the MIT license. See the LICENSE file for more info.
+
+
+
+
+
+
+
+
+
+
diff --git a/6.0.0-beta4/js/jazzy.js b/6.0.0-beta4/js/jazzy.js
new file mode 100755
index 0000000000..198441660c
--- /dev/null
+++ b/6.0.0-beta4/js/jazzy.js
@@ -0,0 +1,74 @@
+// Jazzy - https://github.com/realm/jazzy
+// Copyright Realm Inc.
+// SPDX-License-Identifier: MIT
+
+window.jazzy = {'docset': false}
+if (typeof window.dash != 'undefined') {
+ document.documentElement.className += ' dash'
+ window.jazzy.docset = true
+}
+if (navigator.userAgent.match(/xcode/i)) {
+ document.documentElement.className += ' xcode'
+ window.jazzy.docset = true
+}
+
+function toggleItem($link, $content) {
+ var animationDuration = 300;
+ $link.toggleClass('token-open');
+ $content.slideToggle(animationDuration);
+}
+
+function itemLinkToContent($link) {
+ return $link.parent().parent().next();
+}
+
+// On doc load + hash-change, open any targetted item
+function openCurrentItemIfClosed() {
+ if (window.jazzy.docset) {
+ return;
+ }
+ var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token');
+ $content = itemLinkToContent($link);
+ if ($content.is(':hidden')) {
+ toggleItem($link, $content);
+ }
+}
+
+$(openCurrentItemIfClosed);
+$(window).on('hashchange', openCurrentItemIfClosed);
+
+// On item link ('token') click, toggle its discussion
+$('.token').on('click', function(event) {
+ if (window.jazzy.docset) {
+ return;
+ }
+ var $link = $(this);
+ toggleItem($link, itemLinkToContent($link));
+
+ // Keeps the document from jumping to the hash.
+ var href = $link.attr('href');
+ if (history.pushState) {
+ history.pushState({}, '', href);
+ } else {
+ location.hash = href;
+ }
+ event.preventDefault();
+});
+
+// Clicks on links to the current, closed, item need to open the item
+$("a:not('.token')").on('click', function() {
+ if (location == this.href) {
+ openCurrentItemIfClosed();
+ }
+});
+
+// KaTeX rendering
+if ("katex" in window) {
+ $($('.math').each( (_, element) => {
+ katex.render(element.textContent, element, {
+ displayMode: $(element).hasClass('m-block'),
+ throwOnError: false,
+ trust: true
+ });
+ }))
+}
diff --git a/6.0.0-beta4/js/jazzy.search.js b/6.0.0-beta4/js/jazzy.search.js
new file mode 100644
index 0000000000..359cdbb8b2
--- /dev/null
+++ b/6.0.0-beta4/js/jazzy.search.js
@@ -0,0 +1,74 @@
+// Jazzy - https://github.com/realm/jazzy
+// Copyright Realm Inc.
+// SPDX-License-Identifier: MIT
+
+$(function(){
+ var $typeahead = $('[data-typeahead]');
+ var $form = $typeahead.parents('form');
+ var searchURL = $form.attr('action');
+
+ function displayTemplate(result) {
+ return result.name;
+ }
+
+ function suggestionTemplate(result) {
+ var t = '
';
+ t += '' + result.name + ' ';
+ if (result.parent_name) {
+ t += '' + result.parent_name + ' ';
+ }
+ t += '
';
+ return t;
+ }
+
+ $typeahead.one('focus', function() {
+ $form.addClass('loading');
+
+ $.getJSON(searchURL).then(function(searchData) {
+ const searchIndex = lunr(function() {
+ this.ref('url');
+ this.field('name');
+ this.field('abstract');
+ for (const [url, doc] of Object.entries(searchData)) {
+ this.add({url: url, name: doc.name, abstract: doc.abstract});
+ }
+ });
+
+ $typeahead.typeahead(
+ {
+ highlight: true,
+ minLength: 3,
+ autoselect: true
+ },
+ {
+ limit: 10,
+ display: displayTemplate,
+ templates: { suggestion: suggestionTemplate },
+ source: function(query, sync) {
+ const lcSearch = query.toLowerCase();
+ const results = searchIndex.query(function(q) {
+ q.term(lcSearch, { boost: 100 });
+ q.term(lcSearch, {
+ boost: 10,
+ wildcard: lunr.Query.wildcard.TRAILING
+ });
+ }).map(function(result) {
+ var doc = searchData[result.ref];
+ doc.url = result.ref;
+ return doc;
+ });
+ sync(results);
+ }
+ }
+ );
+ $form.removeClass('loading');
+ $typeahead.trigger('focus');
+ });
+ });
+
+ var baseURL = searchURL.slice(0, -"search.json".length);
+
+ $typeahead.on('typeahead:select', function(e, result) {
+ window.location = baseURL + result.url;
+ });
+});
diff --git a/6.0.0-beta4/js/jquery.min.js b/6.0.0-beta4/js/jquery.min.js
new file mode 100644
index 0000000000..2c69bc908b
--- /dev/null
+++ b/6.0.0-beta4/js/jquery.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0
+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML=" ";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML=" ",v.option=!!ce.lastChild;var ge={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n",""]);var me=/<|?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}();
diff --git a/6.0.0-beta4/js/typeahead.jquery.js b/6.0.0-beta4/js/typeahead.jquery.js
new file mode 100644
index 0000000000..3a2d2ab031
--- /dev/null
+++ b/6.0.0-beta4/js/typeahead.jquery.js
@@ -0,0 +1,1694 @@
+/*!
+ * typeahead.js 1.3.1
+ * https://github.com/corejavascript/typeahead.js
+ * Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT
+ */
+
+
+(function(root, factory) {
+ if (typeof define === "function" && define.amd) {
+ define([ "jquery" ], function(a0) {
+ return factory(a0);
+ });
+ } else if (typeof module === "object" && module.exports) {
+ module.exports = factory(require("jquery"));
+ } else {
+ factory(root["jQuery"]);
+ }
+})(this, function($) {
+ var _ = function() {
+ "use strict";
+ return {
+ isMsie: function() {
+ return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false;
+ },
+ isBlankString: function(str) {
+ return !str || /^\s*$/.test(str);
+ },
+ escapeRegExChars: function(str) {
+ return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
+ },
+ isString: function(obj) {
+ return typeof obj === "string";
+ },
+ isNumber: function(obj) {
+ return typeof obj === "number";
+ },
+ isArray: $.isArray,
+ isFunction: $.isFunction,
+ isObject: $.isPlainObject,
+ isUndefined: function(obj) {
+ return typeof obj === "undefined";
+ },
+ isElement: function(obj) {
+ return !!(obj && obj.nodeType === 1);
+ },
+ isJQuery: function(obj) {
+ return obj instanceof $;
+ },
+ toStr: function toStr(s) {
+ return _.isUndefined(s) || s === null ? "" : s + "";
+ },
+ bind: $.proxy,
+ each: function(collection, cb) {
+ $.each(collection, reverseArgs);
+ function reverseArgs(index, value) {
+ return cb(value, index);
+ }
+ },
+ map: $.map,
+ filter: $.grep,
+ every: function(obj, test) {
+ var result = true;
+ if (!obj) {
+ return result;
+ }
+ $.each(obj, function(key, val) {
+ if (!(result = test.call(null, val, key, obj))) {
+ return false;
+ }
+ });
+ return !!result;
+ },
+ some: function(obj, test) {
+ var result = false;
+ if (!obj) {
+ return result;
+ }
+ $.each(obj, function(key, val) {
+ if (result = test.call(null, val, key, obj)) {
+ return false;
+ }
+ });
+ return !!result;
+ },
+ mixin: $.extend,
+ identity: function(x) {
+ return x;
+ },
+ clone: function(obj) {
+ return $.extend(true, {}, obj);
+ },
+ getIdGenerator: function() {
+ var counter = 0;
+ return function() {
+ return counter++;
+ };
+ },
+ templatify: function templatify(obj) {
+ return $.isFunction(obj) ? obj : template;
+ function template() {
+ return String(obj);
+ }
+ },
+ defer: function(fn) {
+ setTimeout(fn, 0);
+ },
+ debounce: function(func, wait, immediate) {
+ var timeout, result;
+ return function() {
+ var context = this, args = arguments, later, callNow;
+ later = function() {
+ timeout = null;
+ if (!immediate) {
+ result = func.apply(context, args);
+ }
+ };
+ callNow = immediate && !timeout;
+ clearTimeout(timeout);
+ timeout = setTimeout(later, wait);
+ if (callNow) {
+ result = func.apply(context, args);
+ }
+ return result;
+ };
+ },
+ throttle: function(func, wait) {
+ var context, args, timeout, result, previous, later;
+ previous = 0;
+ later = function() {
+ previous = new Date();
+ timeout = null;
+ result = func.apply(context, args);
+ };
+ return function() {
+ var now = new Date(), remaining = wait - (now - previous);
+ context = this;
+ args = arguments;
+ if (remaining <= 0) {
+ clearTimeout(timeout);
+ timeout = null;
+ previous = now;
+ result = func.apply(context, args);
+ } else if (!timeout) {
+ timeout = setTimeout(later, remaining);
+ }
+ return result;
+ };
+ },
+ stringify: function(val) {
+ return _.isString(val) ? val : JSON.stringify(val);
+ },
+ guid: function() {
+ function _p8(s) {
+ var p = (Math.random().toString(16) + "000000000").substr(2, 8);
+ return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p;
+ }
+ return "tt-" + _p8() + _p8(true) + _p8(true) + _p8();
+ },
+ noop: function() {}
+ };
+ }();
+ var WWW = function() {
+ "use strict";
+ var defaultClassNames = {
+ wrapper: "twitter-typeahead",
+ input: "tt-input",
+ hint: "tt-hint",
+ menu: "tt-menu",
+ dataset: "tt-dataset",
+ suggestion: "tt-suggestion",
+ selectable: "tt-selectable",
+ empty: "tt-empty",
+ open: "tt-open",
+ cursor: "tt-cursor",
+ highlight: "tt-highlight"
+ };
+ return build;
+ function build(o) {
+ var www, classes;
+ classes = _.mixin({}, defaultClassNames, o);
+ www = {
+ css: buildCss(),
+ classes: classes,
+ html: buildHtml(classes),
+ selectors: buildSelectors(classes)
+ };
+ return {
+ css: www.css,
+ html: www.html,
+ classes: www.classes,
+ selectors: www.selectors,
+ mixin: function(o) {
+ _.mixin(o, www);
+ }
+ };
+ }
+ function buildHtml(c) {
+ return {
+ wrapper: ' ',
+ menu: ''
+ };
+ }
+ function buildSelectors(classes) {
+ var selectors = {};
+ _.each(classes, function(v, k) {
+ selectors[k] = "." + v;
+ });
+ return selectors;
+ }
+ function buildCss() {
+ var css = {
+ wrapper: {
+ position: "relative",
+ display: "inline-block"
+ },
+ hint: {
+ position: "absolute",
+ top: "0",
+ left: "0",
+ borderColor: "transparent",
+ boxShadow: "none",
+ opacity: "1"
+ },
+ input: {
+ position: "relative",
+ verticalAlign: "top",
+ backgroundColor: "transparent"
+ },
+ inputWithNoHint: {
+ position: "relative",
+ verticalAlign: "top"
+ },
+ menu: {
+ position: "absolute",
+ top: "100%",
+ left: "0",
+ zIndex: "100",
+ display: "none"
+ },
+ ltr: {
+ left: "0",
+ right: "auto"
+ },
+ rtl: {
+ left: "auto",
+ right: " 0"
+ }
+ };
+ if (_.isMsie()) {
+ _.mixin(css.input, {
+ backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"
+ });
+ }
+ return css;
+ }
+ }();
+ var EventBus = function() {
+ "use strict";
+ var namespace, deprecationMap;
+ namespace = "typeahead:";
+ deprecationMap = {
+ render: "rendered",
+ cursorchange: "cursorchanged",
+ select: "selected",
+ autocomplete: "autocompleted"
+ };
+ function EventBus(o) {
+ if (!o || !o.el) {
+ $.error("EventBus initialized without el");
+ }
+ this.$el = $(o.el);
+ }
+ _.mixin(EventBus.prototype, {
+ _trigger: function(type, args) {
+ var $e = $.Event(namespace + type);
+ this.$el.trigger.call(this.$el, $e, args || []);
+ return $e;
+ },
+ before: function(type) {
+ var args, $e;
+ args = [].slice.call(arguments, 1);
+ $e = this._trigger("before" + type, args);
+ return $e.isDefaultPrevented();
+ },
+ trigger: function(type) {
+ var deprecatedType;
+ this._trigger(type, [].slice.call(arguments, 1));
+ if (deprecatedType = deprecationMap[type]) {
+ this._trigger(deprecatedType, [].slice.call(arguments, 1));
+ }
+ }
+ });
+ return EventBus;
+ }();
+ var EventEmitter = function() {
+ "use strict";
+ var splitter = /\s+/, nextTick = getNextTick();
+ return {
+ onSync: onSync,
+ onAsync: onAsync,
+ off: off,
+ trigger: trigger
+ };
+ function on(method, types, cb, context) {
+ var type;
+ if (!cb) {
+ return this;
+ }
+ types = types.split(splitter);
+ cb = context ? bindContext(cb, context) : cb;
+ this._callbacks = this._callbacks || {};
+ while (type = types.shift()) {
+ this._callbacks[type] = this._callbacks[type] || {
+ sync: [],
+ async: []
+ };
+ this._callbacks[type][method].push(cb);
+ }
+ return this;
+ }
+ function onAsync(types, cb, context) {
+ return on.call(this, "async", types, cb, context);
+ }
+ function onSync(types, cb, context) {
+ return on.call(this, "sync", types, cb, context);
+ }
+ function off(types) {
+ var type;
+ if (!this._callbacks) {
+ return this;
+ }
+ types = types.split(splitter);
+ while (type = types.shift()) {
+ delete this._callbacks[type];
+ }
+ return this;
+ }
+ function trigger(types) {
+ var type, callbacks, args, syncFlush, asyncFlush;
+ if (!this._callbacks) {
+ return this;
+ }
+ types = types.split(splitter);
+ args = [].slice.call(arguments, 1);
+ while ((type = types.shift()) && (callbacks = this._callbacks[type])) {
+ syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args));
+ asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args));
+ syncFlush() && nextTick(asyncFlush);
+ }
+ return this;
+ }
+ function getFlush(callbacks, context, args) {
+ return flush;
+ function flush() {
+ var cancelled;
+ for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) {
+ cancelled = callbacks[i].apply(context, args) === false;
+ }
+ return !cancelled;
+ }
+ }
+ function getNextTick() {
+ var nextTickFn;
+ if (window.setImmediate) {
+ nextTickFn = function nextTickSetImmediate(fn) {
+ setImmediate(function() {
+ fn();
+ });
+ };
+ } else {
+ nextTickFn = function nextTickSetTimeout(fn) {
+ setTimeout(function() {
+ fn();
+ }, 0);
+ };
+ }
+ return nextTickFn;
+ }
+ function bindContext(fn, context) {
+ return fn.bind ? fn.bind(context) : function() {
+ fn.apply(context, [].slice.call(arguments, 0));
+ };
+ }
+ }();
+ var highlight = function(doc) {
+ "use strict";
+ var defaults = {
+ node: null,
+ pattern: null,
+ tagName: "strong",
+ className: null,
+ wordsOnly: false,
+ caseSensitive: false,
+ diacriticInsensitive: false
+ };
+ var accented = {
+ A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]",
+ B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]",
+ C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]",
+ D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]",
+ E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]",
+ F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]",
+ G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]",
+ H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]",
+ I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]",
+ J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]",
+ K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]",
+ L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]",
+ M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]",
+ N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]",
+ O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]",
+ P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]",
+ Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]",
+ R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]",
+ S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]",
+ T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]",
+ U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]",
+ V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]",
+ W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]",
+ X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]",
+ Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]",
+ Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]"
+ };
+ return function hightlight(o) {
+ var regex;
+ o = _.mixin({}, defaults, o);
+ if (!o.node || !o.pattern) {
+ return;
+ }
+ o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ];
+ regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive);
+ traverse(o.node, hightlightTextNode);
+ function hightlightTextNode(textNode) {
+ var match, patternNode, wrapperNode;
+ if (match = regex.exec(textNode.data)) {
+ wrapperNode = doc.createElement(o.tagName);
+ o.className && (wrapperNode.className = o.className);
+ patternNode = textNode.splitText(match.index);
+ patternNode.splitText(match[0].length);
+ wrapperNode.appendChild(patternNode.cloneNode(true));
+ textNode.parentNode.replaceChild(wrapperNode, patternNode);
+ }
+ return !!match;
+ }
+ function traverse(el, hightlightTextNode) {
+ var childNode, TEXT_NODE_TYPE = 3;
+ for (var i = 0; i < el.childNodes.length; i++) {
+ childNode = el.childNodes[i];
+ if (childNode.nodeType === TEXT_NODE_TYPE) {
+ i += hightlightTextNode(childNode) ? 1 : 0;
+ } else {
+ traverse(childNode, hightlightTextNode);
+ }
+ }
+ }
+ };
+ function accent_replacer(chr) {
+ return accented[chr.toUpperCase()] || chr;
+ }
+ function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) {
+ var escapedPatterns = [], regexStr;
+ for (var i = 0, len = patterns.length; i < len; i++) {
+ var escapedWord = _.escapeRegExChars(patterns[i]);
+ if (diacriticInsensitive) {
+ escapedWord = escapedWord.replace(/\S/g, accent_replacer);
+ }
+ escapedPatterns.push(escapedWord);
+ }
+ regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")";
+ return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i");
+ }
+ }(window.document);
+ var Input = function() {
+ "use strict";
+ var specialKeyCodeMap;
+ specialKeyCodeMap = {
+ 9: "tab",
+ 27: "esc",
+ 37: "left",
+ 39: "right",
+ 13: "enter",
+ 38: "up",
+ 40: "down"
+ };
+ function Input(o, www) {
+ var id;
+ o = o || {};
+ if (!o.input) {
+ $.error("input is missing");
+ }
+ www.mixin(this);
+ this.$hint = $(o.hint);
+ this.$input = $(o.input);
+ this.$menu = $(o.menu);
+ id = this.$input.attr("id") || _.guid();
+ this.$menu.attr("id", id + "_listbox");
+ this.$hint.attr({
+ "aria-hidden": true
+ });
+ this.$input.attr({
+ "aria-owns": id + "_listbox",
+ role: "combobox",
+ "aria-autocomplete": "list",
+ "aria-expanded": false
+ });
+ this.query = this.$input.val();
+ this.queryWhenFocused = this.hasFocus() ? this.query : null;
+ this.$overflowHelper = buildOverflowHelper(this.$input);
+ this._checkLanguageDirection();
+ if (this.$hint.length === 0) {
+ this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop;
+ }
+ this.onSync("cursorchange", this._updateDescendent);
+ }
+ Input.normalizeQuery = function(str) {
+ return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " ");
+ };
+ _.mixin(Input.prototype, EventEmitter, {
+ _onBlur: function onBlur() {
+ this.resetInputValue();
+ this.trigger("blurred");
+ },
+ _onFocus: function onFocus() {
+ this.queryWhenFocused = this.query;
+ this.trigger("focused");
+ },
+ _onKeydown: function onKeydown($e) {
+ var keyName = specialKeyCodeMap[$e.which || $e.keyCode];
+ this._managePreventDefault(keyName, $e);
+ if (keyName && this._shouldTrigger(keyName, $e)) {
+ this.trigger(keyName + "Keyed", $e);
+ }
+ },
+ _onInput: function onInput() {
+ this._setQuery(this.getInputValue());
+ this.clearHintIfInvalid();
+ this._checkLanguageDirection();
+ },
+ _managePreventDefault: function managePreventDefault(keyName, $e) {
+ var preventDefault;
+ switch (keyName) {
+ case "up":
+ case "down":
+ preventDefault = !withModifier($e);
+ break;
+
+ default:
+ preventDefault = false;
+ }
+ preventDefault && $e.preventDefault();
+ },
+ _shouldTrigger: function shouldTrigger(keyName, $e) {
+ var trigger;
+ switch (keyName) {
+ case "tab":
+ trigger = !withModifier($e);
+ break;
+
+ default:
+ trigger = true;
+ }
+ return trigger;
+ },
+ _checkLanguageDirection: function checkLanguageDirection() {
+ var dir = (this.$input.css("direction") || "ltr").toLowerCase();
+ if (this.dir !== dir) {
+ this.dir = dir;
+ this.$hint.attr("dir", dir);
+ this.trigger("langDirChanged", dir);
+ }
+ },
+ _setQuery: function setQuery(val, silent) {
+ var areEquivalent, hasDifferentWhitespace;
+ areEquivalent = areQueriesEquivalent(val, this.query);
+ hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false;
+ this.query = val;
+ if (!silent && !areEquivalent) {
+ this.trigger("queryChanged", this.query);
+ } else if (!silent && hasDifferentWhitespace) {
+ this.trigger("whitespaceChanged", this.query);
+ }
+ },
+ _updateDescendent: function updateDescendent(event, id) {
+ this.$input.attr("aria-activedescendant", id);
+ },
+ bind: function() {
+ var that = this, onBlur, onFocus, onKeydown, onInput;
+ onBlur = _.bind(this._onBlur, this);
+ onFocus = _.bind(this._onFocus, this);
+ onKeydown = _.bind(this._onKeydown, this);
+ onInput = _.bind(this._onInput, this);
+ this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown);
+ if (!_.isMsie() || _.isMsie() > 9) {
+ this.$input.on("input.tt", onInput);
+ } else {
+ this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) {
+ if (specialKeyCodeMap[$e.which || $e.keyCode]) {
+ return;
+ }
+ _.defer(_.bind(that._onInput, that, $e));
+ });
+ }
+ return this;
+ },
+ focus: function focus() {
+ this.$input.focus();
+ },
+ blur: function blur() {
+ this.$input.blur();
+ },
+ getLangDir: function getLangDir() {
+ return this.dir;
+ },
+ getQuery: function getQuery() {
+ return this.query || "";
+ },
+ setQuery: function setQuery(val, silent) {
+ this.setInputValue(val);
+ this._setQuery(val, silent);
+ },
+ hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() {
+ return this.query !== this.queryWhenFocused;
+ },
+ getInputValue: function getInputValue() {
+ return this.$input.val();
+ },
+ setInputValue: function setInputValue(value) {
+ this.$input.val(value);
+ this.clearHintIfInvalid();
+ this._checkLanguageDirection();
+ },
+ resetInputValue: function resetInputValue() {
+ this.setInputValue(this.query);
+ },
+ getHint: function getHint() {
+ return this.$hint.val();
+ },
+ setHint: function setHint(value) {
+ this.$hint.val(value);
+ },
+ clearHint: function clearHint() {
+ this.setHint("");
+ },
+ clearHintIfInvalid: function clearHintIfInvalid() {
+ var val, hint, valIsPrefixOfHint, isValid;
+ val = this.getInputValue();
+ hint = this.getHint();
+ valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0;
+ isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow();
+ !isValid && this.clearHint();
+ },
+ hasFocus: function hasFocus() {
+ return this.$input.is(":focus");
+ },
+ hasOverflow: function hasOverflow() {
+ var constraint = this.$input.width() - 2;
+ this.$overflowHelper.text(this.getInputValue());
+ return this.$overflowHelper.width() >= constraint;
+ },
+ isCursorAtEnd: function() {
+ var valueLength, selectionStart, range;
+ valueLength = this.$input.val().length;
+ selectionStart = this.$input[0].selectionStart;
+ if (_.isNumber(selectionStart)) {
+ return selectionStart === valueLength;
+ } else if (document.selection) {
+ range = document.selection.createRange();
+ range.moveStart("character", -valueLength);
+ return valueLength === range.text.length;
+ }
+ return true;
+ },
+ destroy: function destroy() {
+ this.$hint.off(".tt");
+ this.$input.off(".tt");
+ this.$overflowHelper.remove();
+ this.$hint = this.$input = this.$overflowHelper = $("");
+ },
+ setAriaExpanded: function setAriaExpanded(value) {
+ this.$input.attr("aria-expanded", value);
+ }
+ });
+ return Input;
+ function buildOverflowHelper($input) {
+ return $('
').css({
+ position: "absolute",
+ visibility: "hidden",
+ whiteSpace: "pre",
+ fontFamily: $input.css("font-family"),
+ fontSize: $input.css("font-size"),
+ fontStyle: $input.css("font-style"),
+ fontVariant: $input.css("font-variant"),
+ fontWeight: $input.css("font-weight"),
+ wordSpacing: $input.css("word-spacing"),
+ letterSpacing: $input.css("letter-spacing"),
+ textIndent: $input.css("text-indent"),
+ textRendering: $input.css("text-rendering"),
+ textTransform: $input.css("text-transform")
+ }).insertAfter($input);
+ }
+ function areQueriesEquivalent(a, b) {
+ return Input.normalizeQuery(a) === Input.normalizeQuery(b);
+ }
+ function withModifier($e) {
+ return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey;
+ }
+ }();
+ var Dataset = function() {
+ "use strict";
+ var keys, nameGenerator;
+ keys = {
+ dataset: "tt-selectable-dataset",
+ val: "tt-selectable-display",
+ obj: "tt-selectable-object"
+ };
+ nameGenerator = _.getIdGenerator();
+ function Dataset(o, www) {
+ o = o || {};
+ o.templates = o.templates || {};
+ o.templates.notFound = o.templates.notFound || o.templates.empty;
+ if (!o.source) {
+ $.error("missing source");
+ }
+ if (!o.node) {
+ $.error("missing node");
+ }
+ if (o.name && !isValidName(o.name)) {
+ $.error("invalid dataset name: " + o.name);
+ }
+ www.mixin(this);
+ this.highlight = !!o.highlight;
+ this.name = _.toStr(o.name || nameGenerator());
+ this.limit = o.limit || 5;
+ this.displayFn = getDisplayFn(o.display || o.displayKey);
+ this.templates = getTemplates(o.templates, this.displayFn);
+ this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source;
+ this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async;
+ this._resetLastSuggestion();
+ this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name);
+ }
+ Dataset.extractData = function extractData(el) {
+ var $el = $(el);
+ if ($el.data(keys.obj)) {
+ return {
+ dataset: $el.data(keys.dataset) || "",
+ val: $el.data(keys.val) || "",
+ obj: $el.data(keys.obj) || null
+ };
+ }
+ return null;
+ };
+ _.mixin(Dataset.prototype, EventEmitter, {
+ _overwrite: function overwrite(query, suggestions) {
+ suggestions = suggestions || [];
+ if (suggestions.length) {
+ this._renderSuggestions(query, suggestions);
+ } else if (this.async && this.templates.pending) {
+ this._renderPending(query);
+ } else if (!this.async && this.templates.notFound) {
+ this._renderNotFound(query);
+ } else {
+ this._empty();
+ }
+ this.trigger("rendered", suggestions, false, this.name);
+ },
+ _append: function append(query, suggestions) {
+ suggestions = suggestions || [];
+ if (suggestions.length && this.$lastSuggestion.length) {
+ this._appendSuggestions(query, suggestions);
+ } else if (suggestions.length) {
+ this._renderSuggestions(query, suggestions);
+ } else if (!this.$lastSuggestion.length && this.templates.notFound) {
+ this._renderNotFound(query);
+ }
+ this.trigger("rendered", suggestions, true, this.name);
+ },
+ _renderSuggestions: function renderSuggestions(query, suggestions) {
+ var $fragment;
+ $fragment = this._getSuggestionsFragment(query, suggestions);
+ this.$lastSuggestion = $fragment.children().last();
+ this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions));
+ },
+ _appendSuggestions: function appendSuggestions(query, suggestions) {
+ var $fragment, $lastSuggestion;
+ $fragment = this._getSuggestionsFragment(query, suggestions);
+ $lastSuggestion = $fragment.children().last();
+ this.$lastSuggestion.after($fragment);
+ this.$lastSuggestion = $lastSuggestion;
+ },
+ _renderPending: function renderPending(query) {
+ var template = this.templates.pending;
+ this._resetLastSuggestion();
+ template && this.$el.html(template({
+ query: query,
+ dataset: this.name
+ }));
+ },
+ _renderNotFound: function renderNotFound(query) {
+ var template = this.templates.notFound;
+ this._resetLastSuggestion();
+ template && this.$el.html(template({
+ query: query,
+ dataset: this.name
+ }));
+ },
+ _empty: function empty() {
+ this.$el.empty();
+ this._resetLastSuggestion();
+ },
+ _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) {
+ var that = this, fragment;
+ fragment = document.createDocumentFragment();
+ _.each(suggestions, function getSuggestionNode(suggestion) {
+ var $el, context;
+ context = that._injectQuery(query, suggestion);
+ $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable);
+ fragment.appendChild($el[0]);
+ });
+ this.highlight && highlight({
+ className: this.classes.highlight,
+ node: fragment,
+ pattern: query
+ });
+ return $(fragment);
+ },
+ _getFooter: function getFooter(query, suggestions) {
+ return this.templates.footer ? this.templates.footer({
+ query: query,
+ suggestions: suggestions,
+ dataset: this.name
+ }) : null;
+ },
+ _getHeader: function getHeader(query, suggestions) {
+ return this.templates.header ? this.templates.header({
+ query: query,
+ suggestions: suggestions,
+ dataset: this.name
+ }) : null;
+ },
+ _resetLastSuggestion: function resetLastSuggestion() {
+ this.$lastSuggestion = $();
+ },
+ _injectQuery: function injectQuery(query, obj) {
+ return _.isObject(obj) ? _.mixin({
+ _query: query
+ }, obj) : obj;
+ },
+ update: function update(query) {
+ var that = this, canceled = false, syncCalled = false, rendered = 0;
+ this.cancel();
+ this.cancel = function cancel() {
+ canceled = true;
+ that.cancel = $.noop;
+ that.async && that.trigger("asyncCanceled", query, that.name);
+ };
+ this.source(query, sync, async);
+ !syncCalled && sync([]);
+ function sync(suggestions) {
+ if (syncCalled) {
+ return;
+ }
+ syncCalled = true;
+ suggestions = (suggestions || []).slice(0, that.limit);
+ rendered = suggestions.length;
+ that._overwrite(query, suggestions);
+ if (rendered < that.limit && that.async) {
+ that.trigger("asyncRequested", query, that.name);
+ }
+ }
+ function async(suggestions) {
+ suggestions = suggestions || [];
+ if (!canceled && rendered < that.limit) {
+ that.cancel = $.noop;
+ var idx = Math.abs(rendered - that.limit);
+ rendered += idx;
+ that._append(query, suggestions.slice(0, idx));
+ that.async && that.trigger("asyncReceived", query, that.name);
+ }
+ }
+ },
+ cancel: $.noop,
+ clear: function clear() {
+ this._empty();
+ this.cancel();
+ this.trigger("cleared");
+ },
+ isEmpty: function isEmpty() {
+ return this.$el.is(":empty");
+ },
+ destroy: function destroy() {
+ this.$el = $("
");
+ }
+ });
+ return Dataset;
+ function getDisplayFn(display) {
+ display = display || _.stringify;
+ return _.isFunction(display) ? display : displayFn;
+ function displayFn(obj) {
+ return obj[display];
+ }
+ }
+ function getTemplates(templates, displayFn) {
+ return {
+ notFound: templates.notFound && _.templatify(templates.notFound),
+ pending: templates.pending && _.templatify(templates.pending),
+ header: templates.header && _.templatify(templates.header),
+ footer: templates.footer && _.templatify(templates.footer),
+ suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate
+ };
+ function userSuggestionTemplate(context) {
+ var template = templates.suggestion;
+ return $(template(context)).attr("id", _.guid());
+ }
+ function suggestionTemplate(context) {
+ return $('
').attr("id", _.guid()).text(displayFn(context));
+ }
+ }
+ function isValidName(str) {
+ return /^[_a-zA-Z0-9-]+$/.test(str);
+ }
+ }();
+ var Menu = function() {
+ "use strict";
+ function Menu(o, www) {
+ var that = this;
+ o = o || {};
+ if (!o.node) {
+ $.error("node is required");
+ }
+ www.mixin(this);
+ this.$node = $(o.node);
+ this.query = null;
+ this.datasets = _.map(o.datasets, initializeDataset);
+ function initializeDataset(oDataset) {
+ var node = that.$node.find(oDataset.node).first();
+ oDataset.node = node.length ? node : $("
").appendTo(that.$node);
+ return new Dataset(oDataset, www);
+ }
+ }
+ _.mixin(Menu.prototype, EventEmitter, {
+ _onSelectableClick: function onSelectableClick($e) {
+ this.trigger("selectableClicked", $($e.currentTarget));
+ },
+ _onRendered: function onRendered(type, dataset, suggestions, async) {
+ this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty());
+ this.trigger("datasetRendered", dataset, suggestions, async);
+ },
+ _onCleared: function onCleared() {
+ this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty());
+ this.trigger("datasetCleared");
+ },
+ _propagate: function propagate() {
+ this.trigger.apply(this, arguments);
+ },
+ _allDatasetsEmpty: function allDatasetsEmpty() {
+ return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) {
+ var isEmpty = dataset.isEmpty();
+ this.$node.attr("aria-expanded", !isEmpty);
+ return isEmpty;
+ }, this));
+ },
+ _getSelectables: function getSelectables() {
+ return this.$node.find(this.selectors.selectable);
+ },
+ _removeCursor: function _removeCursor() {
+ var $selectable = this.getActiveSelectable();
+ $selectable && $selectable.removeClass(this.classes.cursor);
+ },
+ _ensureVisible: function ensureVisible($el) {
+ var elTop, elBottom, nodeScrollTop, nodeHeight;
+ elTop = $el.position().top;
+ elBottom = elTop + $el.outerHeight(true);
+ nodeScrollTop = this.$node.scrollTop();
+ nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10);
+ if (elTop < 0) {
+ this.$node.scrollTop(nodeScrollTop + elTop);
+ } else if (nodeHeight < elBottom) {
+ this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight));
+ }
+ },
+ bind: function() {
+ var that = this, onSelectableClick;
+ onSelectableClick = _.bind(this._onSelectableClick, this);
+ this.$node.on("click.tt", this.selectors.selectable, onSelectableClick);
+ this.$node.on("mouseover", this.selectors.selectable, function() {
+ that.setCursor($(this));
+ });
+ this.$node.on("mouseleave", function() {
+ that._removeCursor();
+ });
+ _.each(this.datasets, function(dataset) {
+ dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that);
+ });
+ return this;
+ },
+ isOpen: function isOpen() {
+ return this.$node.hasClass(this.classes.open);
+ },
+ open: function open() {
+ this.$node.scrollTop(0);
+ this.$node.addClass(this.classes.open);
+ },
+ close: function close() {
+ this.$node.attr("aria-expanded", false);
+ this.$node.removeClass(this.classes.open);
+ this._removeCursor();
+ },
+ setLanguageDirection: function setLanguageDirection(dir) {
+ this.$node.attr("dir", dir);
+ },
+ selectableRelativeToCursor: function selectableRelativeToCursor(delta) {
+ var $selectables, $oldCursor, oldIndex, newIndex;
+ $oldCursor = this.getActiveSelectable();
+ $selectables = this._getSelectables();
+ oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1;
+ newIndex = oldIndex + delta;
+ newIndex = (newIndex + 1) % ($selectables.length + 1) - 1;
+ newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex;
+ return newIndex === -1 ? null : $selectables.eq(newIndex);
+ },
+ setCursor: function setCursor($selectable) {
+ this._removeCursor();
+ if ($selectable = $selectable && $selectable.first()) {
+ $selectable.addClass(this.classes.cursor);
+ this._ensureVisible($selectable);
+ }
+ },
+ getSelectableData: function getSelectableData($el) {
+ return $el && $el.length ? Dataset.extractData($el) : null;
+ },
+ getActiveSelectable: function getActiveSelectable() {
+ var $selectable = this._getSelectables().filter(this.selectors.cursor).first();
+ return $selectable.length ? $selectable : null;
+ },
+ getTopSelectable: function getTopSelectable() {
+ var $selectable = this._getSelectables().first();
+ return $selectable.length ? $selectable : null;
+ },
+ update: function update(query) {
+ var isValidUpdate = query !== this.query;
+ if (isValidUpdate) {
+ this.query = query;
+ _.each(this.datasets, updateDataset);
+ }
+ return isValidUpdate;
+ function updateDataset(dataset) {
+ dataset.update(query);
+ }
+ },
+ empty: function empty() {
+ _.each(this.datasets, clearDataset);
+ this.query = null;
+ this.$node.addClass(this.classes.empty);
+ function clearDataset(dataset) {
+ dataset.clear();
+ }
+ },
+ destroy: function destroy() {
+ this.$node.off(".tt");
+ this.$node = $("
");
+ _.each(this.datasets, destroyDataset);
+ function destroyDataset(dataset) {
+ dataset.destroy();
+ }
+ }
+ });
+ return Menu;
+ }();
+ var Status = function() {
+ "use strict";
+ function Status(options) {
+ this.$el = $("
", {
+ role: "status",
+ "aria-live": "polite"
+ }).css({
+ position: "absolute",
+ padding: "0",
+ border: "0",
+ height: "1px",
+ width: "1px",
+ "margin-bottom": "-1px",
+ "margin-right": "-1px",
+ overflow: "hidden",
+ clip: "rect(0 0 0 0)",
+ "white-space": "nowrap"
+ });
+ options.$input.after(this.$el);
+ _.each(options.menu.datasets, _.bind(function(dataset) {
+ if (dataset.onSync) {
+ dataset.onSync("rendered", _.bind(this.update, this));
+ dataset.onSync("cleared", _.bind(this.cleared, this));
+ }
+ }, this));
+ }
+ _.mixin(Status.prototype, {
+ update: function update(event, suggestions) {
+ var length = suggestions.length;
+ var words;
+ if (length === 1) {
+ words = {
+ result: "result",
+ is: "is"
+ };
+ } else {
+ words = {
+ result: "results",
+ is: "are"
+ };
+ }
+ this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate.");
+ },
+ cleared: function() {
+ this.$el.text("");
+ }
+ });
+ return Status;
+ }();
+ var DefaultMenu = function() {
+ "use strict";
+ var s = Menu.prototype;
+ function DefaultMenu() {
+ Menu.apply(this, [].slice.call(arguments, 0));
+ }
+ _.mixin(DefaultMenu.prototype, Menu.prototype, {
+ open: function open() {
+ !this._allDatasetsEmpty() && this._show();
+ return s.open.apply(this, [].slice.call(arguments, 0));
+ },
+ close: function close() {
+ this._hide();
+ return s.close.apply(this, [].slice.call(arguments, 0));
+ },
+ _onRendered: function onRendered() {
+ if (this._allDatasetsEmpty()) {
+ this._hide();
+ } else {
+ this.isOpen() && this._show();
+ }
+ return s._onRendered.apply(this, [].slice.call(arguments, 0));
+ },
+ _onCleared: function onCleared() {
+ if (this._allDatasetsEmpty()) {
+ this._hide();
+ } else {
+ this.isOpen() && this._show();
+ }
+ return s._onCleared.apply(this, [].slice.call(arguments, 0));
+ },
+ setLanguageDirection: function setLanguageDirection(dir) {
+ this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl);
+ return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0));
+ },
+ _hide: function hide() {
+ this.$node.hide();
+ },
+ _show: function show() {
+ this.$node.css("display", "block");
+ }
+ });
+ return DefaultMenu;
+ }();
+ var Typeahead = function() {
+ "use strict";
+ function Typeahead(o, www) {
+ var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged;
+ o = o || {};
+ if (!o.input) {
+ $.error("missing input");
+ }
+ if (!o.menu) {
+ $.error("missing menu");
+ }
+ if (!o.eventBus) {
+ $.error("missing event bus");
+ }
+ www.mixin(this);
+ this.eventBus = o.eventBus;
+ this.minLength = _.isNumber(o.minLength) ? o.minLength : 1;
+ this.input = o.input;
+ this.menu = o.menu;
+ this.enabled = true;
+ this.autoselect = !!o.autoselect;
+ this.active = false;
+ this.input.hasFocus() && this.activate();
+ this.dir = this.input.getLangDir();
+ this._hacks();
+ this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this);
+ onFocused = c(this, "activate", "open", "_onFocused");
+ onBlurred = c(this, "deactivate", "_onBlurred");
+ onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed");
+ onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed");
+ onEscKeyed = c(this, "isActive", "_onEscKeyed");
+ onUpKeyed = c(this, "isActive", "open", "_onUpKeyed");
+ onDownKeyed = c(this, "isActive", "open", "_onDownKeyed");
+ onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed");
+ onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed");
+ onQueryChanged = c(this, "_openIfActive", "_onQueryChanged");
+ onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged");
+ this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this);
+ }
+ _.mixin(Typeahead.prototype, {
+ _hacks: function hacks() {
+ var $input, $menu;
+ $input = this.input.$input || $("
");
+ $menu = this.menu.$node || $("
");
+ $input.on("blur.tt", function($e) {
+ var active, isActive, hasActive;
+ active = document.activeElement;
+ isActive = $menu.is(active);
+ hasActive = $menu.has(active).length > 0;
+ if (_.isMsie() && (isActive || hasActive)) {
+ $e.preventDefault();
+ $e.stopImmediatePropagation();
+ _.defer(function() {
+ $input.focus();
+ });
+ }
+ });
+ $menu.on("mousedown.tt", function($e) {
+ $e.preventDefault();
+ });
+ },
+ _onSelectableClicked: function onSelectableClicked(type, $el) {
+ this.select($el);
+ },
+ _onDatasetCleared: function onDatasetCleared() {
+ this._updateHint();
+ },
+ _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) {
+ this._updateHint();
+ if (this.autoselect) {
+ var cursorClass = this.selectors.cursor.substr(1);
+ this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass);
+ }
+ this.eventBus.trigger("render", suggestions, async, dataset);
+ },
+ _onAsyncRequested: function onAsyncRequested(type, dataset, query) {
+ this.eventBus.trigger("asyncrequest", query, dataset);
+ },
+ _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) {
+ this.eventBus.trigger("asynccancel", query, dataset);
+ },
+ _onAsyncReceived: function onAsyncReceived(type, dataset, query) {
+ this.eventBus.trigger("asyncreceive", query, dataset);
+ },
+ _onFocused: function onFocused() {
+ this._minLengthMet() && this.menu.update(this.input.getQuery());
+ },
+ _onBlurred: function onBlurred() {
+ if (this.input.hasQueryChangedSinceLastFocus()) {
+ this.eventBus.trigger("change", this.input.getQuery());
+ }
+ },
+ _onEnterKeyed: function onEnterKeyed(type, $e) {
+ var $selectable;
+ if ($selectable = this.menu.getActiveSelectable()) {
+ if (this.select($selectable)) {
+ $e.preventDefault();
+ $e.stopPropagation();
+ }
+ } else if (this.autoselect) {
+ if (this.select(this.menu.getTopSelectable())) {
+ $e.preventDefault();
+ $e.stopPropagation();
+ }
+ }
+ },
+ _onTabKeyed: function onTabKeyed(type, $e) {
+ var $selectable;
+ if ($selectable = this.menu.getActiveSelectable()) {
+ this.select($selectable) && $e.preventDefault();
+ } else if (this.autoselect) {
+ if ($selectable = this.menu.getTopSelectable()) {
+ this.autocomplete($selectable) && $e.preventDefault();
+ }
+ }
+ },
+ _onEscKeyed: function onEscKeyed() {
+ this.close();
+ },
+ _onUpKeyed: function onUpKeyed() {
+ this.moveCursor(-1);
+ },
+ _onDownKeyed: function onDownKeyed() {
+ this.moveCursor(+1);
+ },
+ _onLeftKeyed: function onLeftKeyed() {
+ if (this.dir === "rtl" && this.input.isCursorAtEnd()) {
+ this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable());
+ }
+ },
+ _onRightKeyed: function onRightKeyed() {
+ if (this.dir === "ltr" && this.input.isCursorAtEnd()) {
+ this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable());
+ }
+ },
+ _onQueryChanged: function onQueryChanged(e, query) {
+ this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty();
+ },
+ _onWhitespaceChanged: function onWhitespaceChanged() {
+ this._updateHint();
+ },
+ _onLangDirChanged: function onLangDirChanged(e, dir) {
+ if (this.dir !== dir) {
+ this.dir = dir;
+ this.menu.setLanguageDirection(dir);
+ }
+ },
+ _openIfActive: function openIfActive() {
+ this.isActive() && this.open();
+ },
+ _minLengthMet: function minLengthMet(query) {
+ query = _.isString(query) ? query : this.input.getQuery() || "";
+ return query.length >= this.minLength;
+ },
+ _updateHint: function updateHint() {
+ var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match;
+ $selectable = this.menu.getTopSelectable();
+ data = this.menu.getSelectableData($selectable);
+ val = this.input.getInputValue();
+ if (data && !_.isBlankString(val) && !this.input.hasOverflow()) {
+ query = Input.normalizeQuery(val);
+ escapedQuery = _.escapeRegExChars(query);
+ frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i");
+ match = frontMatchRegEx.exec(data.val);
+ match && this.input.setHint(val + match[1]);
+ } else {
+ this.input.clearHint();
+ }
+ },
+ isEnabled: function isEnabled() {
+ return this.enabled;
+ },
+ enable: function enable() {
+ this.enabled = true;
+ },
+ disable: function disable() {
+ this.enabled = false;
+ },
+ isActive: function isActive() {
+ return this.active;
+ },
+ activate: function activate() {
+ if (this.isActive()) {
+ return true;
+ } else if (!this.isEnabled() || this.eventBus.before("active")) {
+ return false;
+ } else {
+ this.active = true;
+ this.eventBus.trigger("active");
+ return true;
+ }
+ },
+ deactivate: function deactivate() {
+ if (!this.isActive()) {
+ return true;
+ } else if (this.eventBus.before("idle")) {
+ return false;
+ } else {
+ this.active = false;
+ this.close();
+ this.eventBus.trigger("idle");
+ return true;
+ }
+ },
+ isOpen: function isOpen() {
+ return this.menu.isOpen();
+ },
+ open: function open() {
+ if (!this.isOpen() && !this.eventBus.before("open")) {
+ this.input.setAriaExpanded(true);
+ this.menu.open();
+ this._updateHint();
+ this.eventBus.trigger("open");
+ }
+ return this.isOpen();
+ },
+ close: function close() {
+ if (this.isOpen() && !this.eventBus.before("close")) {
+ this.input.setAriaExpanded(false);
+ this.menu.close();
+ this.input.clearHint();
+ this.input.resetInputValue();
+ this.eventBus.trigger("close");
+ }
+ return !this.isOpen();
+ },
+ setVal: function setVal(val) {
+ this.input.setQuery(_.toStr(val));
+ },
+ getVal: function getVal() {
+ return this.input.getQuery();
+ },
+ select: function select($selectable) {
+ var data = this.menu.getSelectableData($selectable);
+ if (data && !this.eventBus.before("select", data.obj, data.dataset)) {
+ this.input.setQuery(data.val, true);
+ this.eventBus.trigger("select", data.obj, data.dataset);
+ this.close();
+ return true;
+ }
+ return false;
+ },
+ autocomplete: function autocomplete($selectable) {
+ var query, data, isValid;
+ query = this.input.getQuery();
+ data = this.menu.getSelectableData($selectable);
+ isValid = data && query !== data.val;
+ if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) {
+ this.input.setQuery(data.val);
+ this.eventBus.trigger("autocomplete", data.obj, data.dataset);
+ return true;
+ }
+ return false;
+ },
+ moveCursor: function moveCursor(delta) {
+ var query, $candidate, data, suggestion, datasetName, cancelMove, id;
+ query = this.input.getQuery();
+ $candidate = this.menu.selectableRelativeToCursor(delta);
+ data = this.menu.getSelectableData($candidate);
+ suggestion = data ? data.obj : null;
+ datasetName = data ? data.dataset : null;
+ id = $candidate ? $candidate.attr("id") : null;
+ this.input.trigger("cursorchange", id);
+ cancelMove = this._minLengthMet() && this.menu.update(query);
+ if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) {
+ this.menu.setCursor($candidate);
+ if (data) {
+ if (typeof data.val === "string") {
+ this.input.setInputValue(data.val);
+ }
+ } else {
+ this.input.resetInputValue();
+ this._updateHint();
+ }
+ this.eventBus.trigger("cursorchange", suggestion, datasetName);
+ return true;
+ }
+ return false;
+ },
+ destroy: function destroy() {
+ this.input.destroy();
+ this.menu.destroy();
+ }
+ });
+ return Typeahead;
+ function c(ctx) {
+ var methods = [].slice.call(arguments, 1);
+ return function() {
+ var args = [].slice.call(arguments);
+ _.each(methods, function(method) {
+ return ctx[method].apply(ctx, args);
+ });
+ };
+ }
+ }();
+ (function() {
+ "use strict";
+ var old, keys, methods;
+ old = $.fn.typeahead;
+ keys = {
+ www: "tt-www",
+ attrs: "tt-attrs",
+ typeahead: "tt-typeahead"
+ };
+ methods = {
+ initialize: function initialize(o, datasets) {
+ var www;
+ datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1);
+ o = o || {};
+ www = WWW(o.classNames);
+ return this.each(attach);
+ function attach() {
+ var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor;
+ _.each(datasets, function(d) {
+ d.highlight = !!o.highlight;
+ });
+ $input = $(this);
+ $wrapper = $(www.html.wrapper);
+ $hint = $elOrNull(o.hint);
+ $menu = $elOrNull(o.menu);
+ defaultHint = o.hint !== false && !$hint;
+ defaultMenu = o.menu !== false && !$menu;
+ defaultHint && ($hint = buildHintFromInput($input, www));
+ defaultMenu && ($menu = $(www.html.menu).css(www.css.menu));
+ $hint && $hint.val("");
+ $input = prepInput($input, www);
+ if (defaultHint || defaultMenu) {
+ $wrapper.css(www.css.wrapper);
+ $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint);
+ $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null);
+ }
+ MenuConstructor = defaultMenu ? DefaultMenu : Menu;
+ eventBus = new EventBus({
+ el: $input
+ });
+ input = new Input({
+ hint: $hint,
+ input: $input,
+ menu: $menu
+ }, www);
+ menu = new MenuConstructor({
+ node: $menu,
+ datasets: datasets
+ }, www);
+ status = new Status({
+ $input: $input,
+ menu: menu
+ });
+ typeahead = new Typeahead({
+ input: input,
+ menu: menu,
+ eventBus: eventBus,
+ minLength: o.minLength,
+ autoselect: o.autoselect
+ }, www);
+ $input.data(keys.www, www);
+ $input.data(keys.typeahead, typeahead);
+ }
+ },
+ isEnabled: function isEnabled() {
+ var enabled;
+ ttEach(this.first(), function(t) {
+ enabled = t.isEnabled();
+ });
+ return enabled;
+ },
+ enable: function enable() {
+ ttEach(this, function(t) {
+ t.enable();
+ });
+ return this;
+ },
+ disable: function disable() {
+ ttEach(this, function(t) {
+ t.disable();
+ });
+ return this;
+ },
+ isActive: function isActive() {
+ var active;
+ ttEach(this.first(), function(t) {
+ active = t.isActive();
+ });
+ return active;
+ },
+ activate: function activate() {
+ ttEach(this, function(t) {
+ t.activate();
+ });
+ return this;
+ },
+ deactivate: function deactivate() {
+ ttEach(this, function(t) {
+ t.deactivate();
+ });
+ return this;
+ },
+ isOpen: function isOpen() {
+ var open;
+ ttEach(this.first(), function(t) {
+ open = t.isOpen();
+ });
+ return open;
+ },
+ open: function open() {
+ ttEach(this, function(t) {
+ t.open();
+ });
+ return this;
+ },
+ close: function close() {
+ ttEach(this, function(t) {
+ t.close();
+ });
+ return this;
+ },
+ select: function select(el) {
+ var success = false, $el = $(el);
+ ttEach(this.first(), function(t) {
+ success = t.select($el);
+ });
+ return success;
+ },
+ autocomplete: function autocomplete(el) {
+ var success = false, $el = $(el);
+ ttEach(this.first(), function(t) {
+ success = t.autocomplete($el);
+ });
+ return success;
+ },
+ moveCursor: function moveCursoe(delta) {
+ var success = false;
+ ttEach(this.first(), function(t) {
+ success = t.moveCursor(delta);
+ });
+ return success;
+ },
+ val: function val(newVal) {
+ var query;
+ if (!arguments.length) {
+ ttEach(this.first(), function(t) {
+ query = t.getVal();
+ });
+ return query;
+ } else {
+ ttEach(this, function(t) {
+ t.setVal(_.toStr(newVal));
+ });
+ return this;
+ }
+ },
+ destroy: function destroy() {
+ ttEach(this, function(typeahead, $input) {
+ revert($input);
+ typeahead.destroy();
+ });
+ return this;
+ }
+ };
+ $.fn.typeahead = function(method) {
+ if (methods[method]) {
+ return methods[method].apply(this, [].slice.call(arguments, 1));
+ } else {
+ return methods.initialize.apply(this, arguments);
+ }
+ };
+ $.fn.typeahead.noConflict = function noConflict() {
+ $.fn.typeahead = old;
+ return this;
+ };
+ function ttEach($els, fn) {
+ $els.each(function() {
+ var $input = $(this), typeahead;
+ (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input);
+ });
+ }
+ function buildHintFromInput($input, www) {
+ return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({
+ readonly: true,
+ required: false
+ }).removeAttr("id name placeholder").removeClass("required").attr({
+ spellcheck: "false",
+ tabindex: -1
+ });
+ }
+ function prepInput($input, www) {
+ $input.data(keys.attrs, {
+ dir: $input.attr("dir"),
+ autocomplete: $input.attr("autocomplete"),
+ spellcheck: $input.attr("spellcheck"),
+ style: $input.attr("style")
+ });
+ $input.addClass(www.classes.input).attr({
+ spellcheck: false
+ });
+ try {
+ !$input.attr("dir") && $input.attr("dir", "auto");
+ } catch (e) {}
+ return $input;
+ }
+ function getBackgroundStyles($el) {
+ return {
+ backgroundAttachment: $el.css("background-attachment"),
+ backgroundClip: $el.css("background-clip"),
+ backgroundColor: $el.css("background-color"),
+ backgroundImage: $el.css("background-image"),
+ backgroundOrigin: $el.css("background-origin"),
+ backgroundPosition: $el.css("background-position"),
+ backgroundRepeat: $el.css("background-repeat"),
+ backgroundSize: $el.css("background-size")
+ };
+ }
+ function revert($input) {
+ var www, $wrapper;
+ www = $input.data(keys.www);
+ $wrapper = $input.parent().filter(www.selectors.wrapper);
+ _.each($input.data(keys.attrs), function(val, key) {
+ _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val);
+ });
+ $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input);
+ if ($wrapper.length) {
+ $input.detach().insertAfter($wrapper);
+ $wrapper.remove();
+ }
+ }
+ function $elOrNull(obj) {
+ var isValid, $el;
+ isValid = _.isJQuery(obj) || _.isElement(obj);
+ $el = isValid ? $(obj).first() : [];
+ return $el.length ? $el : null;
+ }
+ })();
+});
\ No newline at end of file
diff --git a/6.0.0-beta4/search.json b/6.0.0-beta4/search.json
new file mode 100644
index 0000000000..89a3138fa0
--- /dev/null
+++ b/6.0.0-beta4/search.json
@@ -0,0 +1 @@
+{"Protocols/BTThreeDSecureRequestDelegate.html#/c:@M@BraintreeThreeDSecure@objc(pl)BTThreeDSecureRequestDelegate(im)onLookupComplete:lookupResult:next:":{"name":"onLookupComplete(_:lookupResult:next:)","abstract":"
Required delegate method which returns the ThreeDSecure lookup result before the flow continues.","parent_name":"BTThreeDSecureRequestDelegate"},"Protocols/BTLocalPaymentRequestDelegate.html#/c:@M@BraintreeLocalPayment@objc(pl)BTLocalPaymentRequestDelegate(im)localPaymentStarted:paymentID:start:":{"name":"localPaymentStarted(_:paymentID:start:)","abstract":"
Required delegate method which returns the payment ID before the flow starts.
","parent_name":"BTLocalPaymentRequestDelegate"},"Protocols/BTLocalPaymentRequestDelegate.html":{"name":"BTLocalPaymentRequestDelegate"},"Protocols/BTThreeDSecureRequestDelegate.html":{"name":"BTThreeDSecureRequestDelegate","abstract":"
Protocol for ThreeDSecure Request flow
"},"Extensions/BTThreeDSecureV2Provider.html#/s:21BraintreeThreeDSecure07BTThreeC10V2ProviderC15cardinalSessionAD15stepUpValidated9serverJWTySo08CardinalH0CSg_So0N8ResponseCSgSSSgtF":{"name":"cardinalSession(cardinalSession:stepUpValidated:serverJWT:)","parent_name":"BTThreeDSecureV2Provider"},"Extensions/BTThreeDSecureV2Provider.html":{"name":"BTThreeDSecureV2Provider"},"Enums/BTVenmoPaymentMethodUsage.html#/c:@M@BraintreeVenmo@E@BTVenmoPaymentMethodUsage@BTVenmoPaymentMethodUsageMultiUse":{"name":"multiUse","abstract":"
The Venmo payment will be authorized for future payments and can be vaulted.
","parent_name":"BTVenmoPaymentMethodUsage"},"Enums/BTVenmoPaymentMethodUsage.html#/c:@M@BraintreeVenmo@E@BTVenmoPaymentMethodUsage@BTVenmoPaymentMethodUsageSingleUse":{"name":"singleUse","abstract":"
The Venmo payment will be authorized for a one-time payment and cannot be vaulted.
","parent_name":"BTVenmoPaymentMethodUsage"},"Enums/BTPayPalRequestLandingPageType.html#/c:@M@BraintreePayPal@E@BTPayPalRequestLandingPageType@BTPayPalRequestLandingPageTypeNone":{"name":"none","abstract":"
Default
","parent_name":"BTPayPalRequestLandingPageType"},"Enums/BTPayPalRequestLandingPageType.html#/c:@M@BraintreePayPal@E@BTPayPalRequestLandingPageType@BTPayPalRequestLandingPageTypeLogin":{"name":"login","abstract":"
Login
","parent_name":"BTPayPalRequestLandingPageType"},"Enums/BTPayPalRequestLandingPageType.html#/c:@M@BraintreePayPal@E@BTPayPalRequestLandingPageType@BTPayPalRequestLandingPageTypeBilling":{"name":"billing","abstract":"
Billing
","parent_name":"BTPayPalRequestLandingPageType"},"Enums/BTPayPalPaymentType.html#/c:@M@BraintreePayPal@E@BTPayPalPaymentType@BTPayPalPaymentTypeCheckout":{"name":"checkout","abstract":"
Checkout
","parent_name":"BTPayPalPaymentType"},"Enums/BTPayPalPaymentType.html#/c:@M@BraintreePayPal@E@BTPayPalPaymentType@BTPayPalPaymentTypeVault":{"name":"vault","abstract":"
Vault
","parent_name":"BTPayPalPaymentType"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeNone":{"name":"none","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeDa_DK":{"name":"da_DK","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeDe_DE":{"name":"de_DE","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEn_AU":{"name":"en_AU","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEn_GB":{"name":"en_GB","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEn_US":{"name":"en_US","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEs_ES":{"name":"es_ES","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeEs_XC":{"name":"es_XC","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeFr_CA":{"name":"fr_CA","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeFr_FR":{"name":"fr_FR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeFr_XC":{"name":"fr_XC","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeId_ID":{"name":"id_ID","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeIt_IT":{"name":"it_IT","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeJa_JP":{"name":"ja_JP","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeKo_KR":{"name":"ko_KR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeNl_NL":{"name":"nl_NL","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeNo_NO":{"name":"no_NO","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodePl_PL":{"name":"pl_PL","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodePt_BR":{"name":"pt_BR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodePt_PT":{"name":"pt_PT","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeRu_RU":{"name":"ru_RU","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeSv_SE":{"name":"sv_SE","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeTh_TH":{"name":"th_TH","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeTr_TR":{"name":"tr_TR","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_CN":{"name":"zh_CN","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_HK":{"name":"zh_HK","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_TW":{"name":"zh_TW","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLocaleCode.html#/c:@M@BraintreePayPal@E@BTPayPalLocaleCode@BTPayPalLocaleCodeZh_XC":{"name":"zh_XC","parent_name":"BTPayPalLocaleCode"},"Enums/BTPayPalLineItemKind.html#/c:@M@BraintreePayPal@E@BTPayPalLineItemKind@BTPayPalLineItemKindDebit":{"name":"debit","abstract":"
Debit
","parent_name":"BTPayPalLineItemKind"},"Enums/BTPayPalLineItemKind.html#/c:@M@BraintreePayPal@E@BTPayPalLineItemKind@BTPayPalLineItemKindCredit":{"name":"credit","abstract":"
Credit
","parent_name":"BTPayPalLineItemKind"},"Enums/BTPayPalRequestUserAction.html#/c:@M@BraintreePayPal@E@BTPayPalRequestUserAction@BTPayPalRequestUserActionNone":{"name":"none","abstract":"
Default
","parent_name":"BTPayPalRequestUserAction"},"Enums/BTPayPalRequestUserAction.html#/c:@M@BraintreePayPal@E@BTPayPalRequestUserAction@BTPayPalRequestUserActionPayNow":{"name":"payNow","abstract":"
Pay Now
","parent_name":"BTPayPalRequestUserAction"},"Enums/BTPayPalRequestIntent.html#/c:@M@BraintreePayPal@E@BTPayPalRequestIntent@BTPayPalRequestIntentAuthorize":{"name":"authorize","abstract":"
Authorize
","parent_name":"BTPayPalRequestIntent"},"Enums/BTPayPalRequestIntent.html#/c:@M@BraintreePayPal@E@BTPayPalRequestIntent@BTPayPalRequestIntentSale":{"name":"sale","abstract":"
Sale
","parent_name":"BTPayPalRequestIntent"},"Enums/BTPayPalRequestIntent.html#/c:@M@BraintreePayPal@E@BTPayPalRequestIntent@BTPayPalRequestIntentOrder":{"name":"order","abstract":"
Order
","parent_name":"BTPayPalRequestIntent"},"Enums/BTPayPalRequestIntent.html#/s:15BraintreePayPal05BTPayC13RequestIntentO11stringValueSSvp":{"name":"stringValue","parent_name":"BTPayPalRequestIntent"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeVerify":{"name":"verify","abstract":"
Verify button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeContinue":{"name":"continue","abstract":"
Continue button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeNext":{"name":"next","abstract":"
Next button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeCancel":{"name":"cancel","abstract":"
Cancel button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureV2ButtonType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureV2ButtonType@BTThreeDSecureV2ButtonTypeResend":{"name":"resend","abstract":"
Resend button
","parent_name":"BTThreeDSecureV2ButtonType"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodSameDay":{"name":"sameDay","abstract":"
Same Day
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodExpedited":{"name":"expedited","abstract":"
Expedited
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodPriority":{"name":"priority","abstract":"
Priority
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodGround":{"name":"ground","abstract":"
Ground
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodElectronicDelivery":{"name":"electronicDelivery","abstract":"
Electronic Delivery
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureShippingMethod.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureShippingMethod@BTThreeDSecureShippingMethodShipToStore":{"name":"shipToStore","abstract":"
Ship to Store
","parent_name":"BTThreeDSecureShippingMethod"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeLowValue":{"name":"lowValue","abstract":"
Low value
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeSecureCorporate":{"name":"secureCorporate","abstract":"
Secure corporate
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeTrustedBeneficiary":{"name":"trustedBeneficiary","abstract":"
Trusted beneficiary
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureRequestedExemptionType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureRequestedExemptionType@BTThreeDSecureRequestedExemptionTypeTransactionRiskAnalysis":{"name":"transactionRiskAnalysis","abstract":"
Transaction risk analysis
","parent_name":"BTThreeDSecureRequestedExemptionType"},"Enums/BTThreeDSecureCardAddChallenge.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureCardAddChallenge@BTThreeDSecureCardAddChallengeUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureCardAddChallenge"},"Enums/BTThreeDSecureCardAddChallenge.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureCardAddChallenge@BTThreeDSecureCardAddChallengeRequested":{"name":"requested","abstract":"
Requested
","parent_name":"BTThreeDSecureCardAddChallenge"},"Enums/BTThreeDSecureCardAddChallenge.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureCardAddChallenge@BTThreeDSecureCardAddChallengeNotRequested":{"name":"notRequested","abstract":"
Not Requested
","parent_name":"BTThreeDSecureCardAddChallenge"},"Enums/BTThreeDSecureAccountType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureAccountType@BTThreeDSecureAccountTypeUnspecified":{"name":"unspecified","abstract":"
Unspecified
","parent_name":"BTThreeDSecureAccountType"},"Enums/BTThreeDSecureAccountType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureAccountType@BTThreeDSecureAccountTypeCredit":{"name":"credit","abstract":"
Credit
","parent_name":"BTThreeDSecureAccountType"},"Enums/BTThreeDSecureAccountType.html#/c:@M@BraintreeThreeDSecure@E@BTThreeDSecureAccountType@BTThreeDSecureAccountTypeDebit":{"name":"debit","abstract":"
Debit
","parent_name":"BTThreeDSecureAccountType"},"Enums/BTSEPADirectDebitMandateType.html#/c:@M@BraintreeSEPADirectDebit@E@BTSEPADirectDebitMandateType@BTSEPADirectDebitMandateTypeOneOff":{"name":"oneOff","parent_name":"BTSEPADirectDebitMandateType"},"Enums/BTSEPADirectDebitMandateType.html#/c:@M@BraintreeSEPADirectDebit@E@BTSEPADirectDebitMandateType@BTSEPADirectDebitMandateTypeRecurrent":{"name":"recurrent","parent_name":"BTSEPADirectDebitMandateType"},"Enums/BTSEPADirectDebitMandateType.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"BTSEPADirectDebitMandateType"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelCritical":{"name":"critical","abstract":"
Only log critical issues (e.g. irrecoverable errors)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelError":{"name":"error","abstract":"
Log errors (e.g. expected or recoverable errors)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelWarning":{"name":"warning","abstract":"
Log warnings (e.g. use of pre-release features)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelInfo":{"name":"info","abstract":"
Log basic information (e.g. state changes, network activity)
","parent_name":"BTLogLevel"},"Enums/BTLogLevel.html#/c:@M@BraintreeCore@E@BTLogLevel@BTLogLevelDebug":{"name":"debug","abstract":"
Log debugging statements (anything and everything)
","parent_name":"BTLogLevel"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourceUnknown":{"name":"unknown","abstract":"
Unknown source
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourcePayPalApp":{"name":"payPalApp","abstract":"
PayPal app
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourcePayPalBrowser":{"name":"payPalBrowser","abstract":"
PayPal browser
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourceVenmoApp":{"name":"venmoApp","abstract":"
Venmo app
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataSource.html#/c:@M@BraintreeCore@E@BTClientMetadataSource@BTClientMetadataSourceForm":{"name":"form","abstract":"
Form
","parent_name":"BTClientMetadataSource"},"Enums/BTClientMetadataIntegration.html#/c:@M@BraintreeCore@E@BTClientMetadataIntegration@BTClientMetadataIntegrationCustom":{"name":"custom","abstract":"
Custom
","parent_name":"BTClientMetadataIntegration"},"Enums/BTClientMetadataIntegration.html#/c:@M@BraintreeCore@E@BTClientMetadataIntegration@BTClientMetadataIntegrationDropIn":{"name":"dropIn","abstract":"
Drop-in
","parent_name":"BTClientMetadataIntegration"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkUnknown":{"name":"unknown","abstract":"
Unknown card
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkAMEX":{"name":"AMEX","abstract":"
American Express
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkDinersClub":{"name":"dinersClub","abstract":"
Diners Club
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkDiscover":{"name":"discover","abstract":"
Discover
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkMasterCard":{"name":"masterCard","abstract":"
Mastercard
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkVisa":{"name":"visa","abstract":"
Visa
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkJCB":{"name":"JCB","abstract":"
JCB
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkLaser":{"name":"laser","abstract":"
Laser
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkMaestro":{"name":"maestro","abstract":"
Maestro
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkUnionPay":{"name":"unionPay","abstract":"
Union Pay
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkHiper":{"name":"hiper","abstract":"
Hiper
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkHipercard":{"name":"hipercard","abstract":"
Hipercard
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkSolo":{"name":"solo","abstract":"
Solo
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkSwitch":{"name":"switch","abstract":"
Switch
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html#/c:@M@BraintreeCore@E@BTCardNetwork@BTCardNetworkUkMaestro":{"name":"ukMaestro","abstract":"
UK Maestro
","parent_name":"BTCardNetwork"},"Enums/BTCardNetwork.html":{"name":"BTCardNetwork","abstract":"
Card type
"},"Enums/BTClientMetadataIntegration.html":{"name":"BTClientMetadataIntegration","abstract":"
Integration Types
"},"Enums/BTClientMetadataSource.html":{"name":"BTClientMetadataSource","abstract":"
Source of the metadata
"},"Enums/BTLogLevel.html":{"name":"BTLogLevel","abstract":"
Log level used to add formatted string to NSLog
"},"Enums/BTSEPADirectDebitMandateType.html":{"name":"BTSEPADirectDebitMandateType","abstract":"
Mandate type for the SEPA Direct Debit request.
"},"Enums/BTThreeDSecureAccountType.html":{"name":"BTThreeDSecureAccountType","abstract":"
The account type
"},"Enums/BTThreeDSecureCardAddChallenge.html":{"name":"BTThreeDSecureCardAddChallenge","abstract":"
The card add challenge request
"},"Enums/BTThreeDSecureRequestedExemptionType.html":{"name":"BTThreeDSecureRequestedExemptionType","abstract":"
3D Secure requested exemption type
"},"Enums/BTThreeDSecureShippingMethod.html":{"name":"BTThreeDSecureShippingMethod","abstract":"
The shipping method
"},"Enums/BTThreeDSecureV2ButtonType.html":{"name":"BTThreeDSecureV2ButtonType","abstract":"
Button types that can be customized in 3D Secure 2 flows.
"},"Enums/BTPayPalRequestIntent.html":{"name":"BTPayPalRequestIntent","abstract":"
Payment intent.
"},"Enums/BTPayPalRequestUserAction.html":{"name":"BTPayPalRequestUserAction","abstract":"
The call-to-action in the PayPal Checkout flow.
"},"Enums/BTPayPalLineItemKind.html":{"name":"BTPayPalLineItemKind","abstract":"
Use this option to specify whether a line item is a debit (sale) or credit (refund) to the customer.
"},"Enums/BTPayPalLocaleCode.html":{"name":"BTPayPalLocaleCode","abstract":"
A locale code to use for a transaction.
"},"Enums/BTPayPalPaymentType.html":{"name":"BTPayPalPaymentType"},"Enums/BTPayPalRequestLandingPageType.html":{"name":"BTPayPalRequestLandingPageType","abstract":"
Use this option to specify the PayPal page to display when a user lands on the PayPal site to complete the payment.
"},"Enums/BTVenmoPaymentMethodUsage.html":{"name":"BTVenmoPaymentMethodUsage","abstract":"
Usage type for the tokenized Venmo account
"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)profileID":{"name":"profileID","abstract":"
Optional. The Venmo profile ID to be used during payment authorization. Customers will see the business name and logo associated with this Venmo profile, and it may show up in the","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)vault":{"name":"vault","abstract":"
Whether to automatically vault the Venmo account on the client. For client-side vaulting, you must initialize BTAPIClient with a client token that was created with a customer ID.","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)paymentMethodUsage":{"name":"paymentMethodUsage","abstract":"
If set to .multiUse
, the Venmo payment will be authorized for future payments and can be vaulted.","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(py)displayName":{"name":"displayName","abstract":"
Optional. The business name that will be displayed in the Venmo app payment approval screen. Only used by merchants onboarded as PayFast channel partners.
","parent_name":"BTVenmoRequest"},"Classes/BTVenmoRequest.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoRequest(im)initWithPaymentMethodUsage:":{"name":"init(paymentMethodUsage:)","abstract":"
Initialize a Venmo request with a payment method usage.
","parent_name":"BTVenmoRequest"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates an Apple Pay client
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)tokenizeWithVenmoRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Initiates Venmo login via app switch, which returns a BTVenmoAccountNonce when successful.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/s:14BraintreeVenmo13BTVenmoClientC8tokenizeyAA0C12AccountNonceCAA0C7RequestCYaKF":{"name":"tokenize(_:)","abstract":"
Initiates Venmo login via app switch, which returns a BTVenmoAccountNonce when successful.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)isVenmoAppInstalled":{"name":"isVenmoAppInstalled()","abstract":"
Returns true if the proper Venmo app is installed and configured correctly, returns false otherwise.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoClient.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoClient(im)openVenmoAppPageInAppStore":{"name":"openVenmoAppPageInAppStore()","abstract":"
Switches to the App Store to download the Venmo application.
","parent_name":"BTVenmoClient"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)email":{"name":"email","abstract":"
The email associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)externalID":{"name":"externalID","abstract":"
The external ID associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)firstName":{"name":"firstName","abstract":"
The first name associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)lastName":{"name":"lastName","abstract":"
The last name associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)phoneNumber":{"name":"phoneNumber","abstract":"
The phone number associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTVenmoAccountNonce.html#/c:@M@BraintreeVenmo@objc(cs)BTVenmoAccountNonce(py)username":{"name":"username","abstract":"
The username associated with the Venmo account
","parent_name":"BTVenmoAccountNonce"},"Classes/BTPayPalVaultRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalVaultRequest(py)offerCredit":{"name":"offerCredit","abstract":"
Optional: Offers PayPal Credit if the customer qualifies. Defaults to false
.
","parent_name":"BTPayPalVaultRequest"},"Classes/BTPayPalVaultRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalVaultRequest(im)initWithOfferCredit:":{"name":"init(offerCredit:)","abstract":"
Initializes a PayPal Native Vault request
","parent_name":"BTPayPalVaultRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)isShippingAddressRequired":{"name":"isShippingAddressRequired","abstract":"
Defaults to false. When set to true, the shipping address selector will be displayed.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)isShippingAddressEditable":{"name":"isShippingAddressEditable","abstract":"
Defaults to false. Set to true to enable user editing of the shipping address.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)localeCode":{"name":"localeCode","abstract":"
Optional: A locale code to use for the transaction.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)shippingAddressOverride":{"name":"shippingAddressOverride","abstract":"
Optional: A valid shipping address to be displayed in the transaction flow. An error will occur if this address is not valid.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)landingPageType":{"name":"landingPageType","abstract":"
Optional: Landing page type. Defaults to .none
.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)displayName":{"name":"displayName","abstract":"
Optional: The merchant name displayed inside of the PayPal flow; defaults to the company name on your Braintree account
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional: A non-default merchant account to use for tokenization.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)lineItems":{"name":"lineItems","abstract":"
Optional: The line items for this transaction. It can include up to 249 line items.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)billingAgreementDescription":{"name":"billingAgreementDescription","abstract":"
Optional: Display a custom description to the user for a billing agreement. For Checkout with Vault flows, you must also set","parent_name":"BTPayPalRequest"},"Classes/BTPayPalRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalRequest(py)riskCorrelationID":{"name":"riskCorrelationID","abstract":"
Optional: A risk correlation ID created with Set Transaction Context on your server.
","parent_name":"BTPayPalRequest"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)quantity":{"name":"quantity","abstract":"
Number of units of the item purchased. This value must be a whole number and can’t be negative or zero.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)unitAmount":{"name":"unitAmount","abstract":"
Per-unit price of the item. Can include up to 2 decimal places. This value can’t be negative or zero.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)name":{"name":"name","abstract":"
Item name. Maximum 127 characters.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)kind":{"name":"kind","abstract":"
Indicates whether the line item is a debit (sale) or credit (refund) to the customer.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)unitTaxAmount":{"name":"unitTaxAmount","abstract":"
Optional: Per-unit tax price of the item. Can include up to 2 decimal places. This value can’t be negative or zero.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)itemDescription":{"name":"itemDescription","abstract":"
Optional: Item description. Maximum 127 characters.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)productCode":{"name":"productCode","abstract":"
Optional: Product or UPC code for the item. Maximum 127 characters.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(py)url":{"name":"url","abstract":"
Optional: The URL to product information.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(im)initWithQuantity:unitAmount:name:kind:":{"name":"init(quantity:unitAmount:name:kind:)","abstract":"
Initialize a PayPayLineItem
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalLineItem.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalLineItem(im)requestParameters":{"name":"requestParameters()","abstract":"
Returns the line item in a dictionary.
","parent_name":"BTPayPalLineItem"},"Classes/BTPayPalCreditFinancingAmount.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancingAmount(py)currency":{"name":"currency","abstract":"
3 letter currency code as defined by ISO 4217 .
","parent_name":"BTPayPalCreditFinancingAmount"},"Classes/BTPayPalCreditFinancingAmount.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancingAmount(py)value":{"name":"value","abstract":"
An amount defined by ISO 4217 for the given currency.
","parent_name":"BTPayPalCreditFinancingAmount"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)cardAmountImmutable":{"name":"cardAmountImmutable","abstract":"
Indicates whether the card amount is editable after payer’s acceptance on PayPal side.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)monthlyPayment":{"name":"monthlyPayment","abstract":"
Estimated amount per month that the customer will need to pay including fees and interest.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)payerAcceptance":{"name":"payerAcceptance","abstract":"
Status of whether the customer ultimately was approved for and chose to make the payment using the approved installment credit.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)term":{"name":"term","abstract":"
Length of financing terms in months.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)totalCost":{"name":"totalCost","abstract":"
Estimated total payment amount including interest and fees the user will pay during the lifetime of the loan.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalCreditFinancing.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCreditFinancing(py)totalInterest":{"name":"totalInterest","abstract":"
Estimated interest or fees amount the payer will have to pay during the lifetime of the loan.
","parent_name":"BTPayPalCreditFinancing"},"Classes/BTPayPalClient.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initialize a new PayPal client instance.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalClient(im)tokenizeWithVaultRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Vault flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/s:15BraintreePayPal05BTPayC6ClientC8tokenizeyAA0dC12AccountNonceCAA0dC12VaultRequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Vault flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalClient(im)tokenizeWithCheckoutRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Checkout or Pay Later flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalClient.html#/s:15BraintreePayPal05BTPayC6ClientC8tokenizeyAA0dC12AccountNonceCAA0dC15CheckoutRequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Checkout or Pay Later flow.
","parent_name":"BTPayPalClient"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)amount":{"name":"amount","abstract":"
Used for a one-time payment.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)intent":{"name":"intent","abstract":"
Optional: Payment intent. Defaults to .authorize
. Only applies to PayPal Checkout.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)userAction":{"name":"userAction","abstract":"
Optional: Changes the call-to-action in the PayPal Checkout flow. Defaults to .none
.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)offerPayLater":{"name":"offerPayLater","abstract":"
Optional: Offers PayPal Pay Later if the customer qualifies. Defaults to false
. Only available with PayPal Checkout.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)currencyCode":{"name":"currencyCode","abstract":"
Optional: A three-character ISO-4217 ISO currency code to use for the transaction. Defaults to merchant currency code if not set.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(py)requestBillingAgreement":{"name":"requestBillingAgreement","abstract":"
Optional: If set to true
, this enables the Checkout with Vault flow, where the customer will be prompted to consent to a billing agreement during checkout. Defaults to false
.
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalCheckoutRequest.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalCheckoutRequest(im)initWithAmount:intent:userAction:offerPayLater:currencyCode:requestBillingAgreement:":{"name":"init(amount:intent:userAction:offerPayLater:currencyCode:requestBillingAgreement:)","abstract":"
Initializes a PayPal Native Checkout request
","parent_name":"BTPayPalCheckoutRequest"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)email":{"name":"email","abstract":"
Payer’s email address.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)firstName":{"name":"firstName","abstract":"
Payer’s first name.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)lastName":{"name":"lastName","abstract":"
Payer’s last name.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)phone":{"name":"phone","abstract":"
Payer’s phone number.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)billingAddress":{"name":"billingAddress","abstract":"
The billing address.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)shippingAddress":{"name":"shippingAddress","abstract":"
The shipping address.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)clientMetadataID":{"name":"clientMetadataID","abstract":"
Client metadata id associated with this transaction.
","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)payerID":{"name":"payerID","abstract":"
Optional. Payer id associated with this transaction.","parent_name":"BTPayPalAccountNonce"},"Classes/BTPayPalAccountNonce.html#/c:@M@BraintreePayPal@objc(cs)BTPayPalAccountNonce(py)creditFinancing":{"name":"creditFinancing","abstract":"
Optional. Credit financing details if the customer pays with PayPal Credit.","parent_name":"BTPayPalAccountNonce"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)acsTransactionID":{"name":"acsTransactionID","abstract":"
Unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)authenticationTransactionStatus":{"name":"authenticationTransactionStatus","abstract":"
On authentication, the transaction status result identifier.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)authenticationTransactionStatusReason":{"name":"authenticationTransactionStatusReason","abstract":"
On authentication, provides additional information as to why the transaction status has the specific value.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)cavv":{"name":"cavv","abstract":"
Cardholder authentication verification value or “CAVV” is the main encrypted message issuers and card networks use to verify authentication has occured.","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)dsTransactionID":{"name":"dsTransactionID","abstract":"
Directory Server Transaction ID is an ID used by the card brand’s 3DS directory server.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)eciFlag":{"name":"eciFlag","abstract":"
The ecommerce indicator flag indicates the outcome of the 3DS authentication.","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)enrolled":{"name":"enrolled","abstract":"
Indicates whether a card is enrolled in a 3D Secure program or not. Possible values:
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)liabilityShifted":{"name":"liabilityShifted","abstract":"
If the 3D Secure liability shift has occurred.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)liabilityShiftPossible":{"name":"liabilityShiftPossible","abstract":"
If the 3D Secure liability shift is possible.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)lookupTransactionStatus":{"name":"lookupTransactionStatus","abstract":"
On lookup, the transaction status result identifier.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)lookupTransactionStatusReason":{"name":"lookupTransactionStatusReason","abstract":"
On lookup, provides additional information as to why the transaction status has the specific value.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)paresStatus":{"name":"paresStatus","abstract":"
The Payer Authentication Response (PARes) Status, a transaction status result identifier. Possible Values:
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)status":{"name":"status","abstract":"
The 3D Secure status value.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)threeDSecureAuthenticationID":{"name":"threeDSecureAuthenticationID","abstract":"
Unique identifier assigned to the 3D Secure authentication performed for this transaction.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)threeDSecureServerTransactionID":{"name":"threeDSecureServerTransactionID","abstract":"
Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)threeDSecureVersion":{"name":"threeDSecureVersion","abstract":"
The 3DS version used in the authentication, example “1.0.2” or “2.1.0”.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)wasVerified":{"name":"wasVerified","abstract":"
Indicates if the 3D Secure lookup was performed.
","parent_name":"BTThreeDSecureInfo"},"Classes/BTThreeDSecureInfo.html#/c:@M@BraintreeCard@objc(cs)BTThreeDSecureInfo(py)xid":{"name":"xid","abstract":"
Transaction identifier resulting from 3D Secure authentication. Uniquely identifies the transaction and sometimes required in the authorization message.","parent_name":"BTThreeDSecureInfo"},"Classes/BTCardRequest.html#/c:@M@BraintreeCard@objc(cs)BTCardRequest(py)card":{"name":"card","abstract":"
The BTCard
associated with this instance.
","parent_name":"BTCardRequest"},"Classes/BTCardRequest.html#/c:@M@BraintreeCard@objc(cs)BTCardRequest(im)initWithCard:":{"name":"init(card:)","abstract":"
Initialize a Card request with a BTCard
.
","parent_name":"BTCardRequest"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)cardNetwork":{"name":"cardNetwork","abstract":"
The card network.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)expirationMonth":{"name":"expirationMonth","abstract":"
The expiration month of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)expirationYear":{"name":"expirationYear","abstract":"
The expiration year of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)cardholderName":{"name":"cardholderName","abstract":"
The name of the cardholder, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)lastTwo":{"name":"lastTwo","abstract":"
The last two digits of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)lastFour":{"name":"lastFour","abstract":"
The last four digits of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)bin":{"name":"bin","abstract":"
The BIN number of the card, if available.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)binData":{"name":"binData","abstract":"
The BIN data for the card number associated with this nonce.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)threeDSecureInfo":{"name":"threeDSecureInfo","abstract":"
The 3D Secure info for the card number associated with this nonce.
","parent_name":"BTCardNonce"},"Classes/BTCardNonce.html#/c:@M@BraintreeCard@objc(cs)BTCardNonce(py)authenticationInsight":{"name":"authenticationInsight","abstract":"
Details about the regulatory environment and applicable customer authentication regulation for a potential transaction.","parent_name":"BTCardNonce"},"Classes/BTCardClient.html#/c:@M@BraintreeCard@objc(cs)BTCardClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates a card client
","parent_name":"BTCardClient"},"Classes/BTCardClient.html#/c:@M@BraintreeCard@objc(cs)BTCardClient(im)tokenizeCard:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenizes a card
","parent_name":"BTCardClient"},"Classes/BTCardClient.html#/s:13BraintreeCard12BTCardClientC8tokenizeyAA0C5NonceCAA0C0CYaKF":{"name":"tokenize(_:)","abstract":"
Tokenizes a card
","parent_name":"BTCardClient"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)number":{"name":"number","abstract":"
The card number
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)expirationMonth":{"name":"expirationMonth","abstract":"
The expiration month as a one or two-digit number on the Gregorian calendar
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)expirationYear":{"name":"expirationYear","abstract":"
The expiration year as a two or four-digit number on the Gregorian calendar
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)cvv":{"name":"cvv","abstract":"
The card verification code (like CVV or CID).
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)postalCode":{"name":"postalCode","abstract":"
The postal code associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)cardholderName":{"name":"cardholderName","abstract":"
Optional: the cardholder’s name.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)firstName":{"name":"firstName","abstract":"
Optional: first name on the card.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)lastName":{"name":"lastName","abstract":"
Optional: last name on the card.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)company":{"name":"company","abstract":"
Optional: company name associated with the card.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)streetAddress":{"name":"streetAddress","abstract":"
Optional: the street address associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)extendedAddress":{"name":"extendedAddress","abstract":"
Optional: the extended address associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)locality":{"name":"locality","abstract":"
Optional: the city associated with the card’s billing address
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)region":{"name":"region","abstract":"
Optional: either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryName":{"name":"countryName","abstract":"
Optional: the country name associated with the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryCodeAlpha2":{"name":"countryCodeAlpha2","abstract":"
Optional: the ISO 3166-1 alpha-2 country code specified in the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryCodeAlpha3":{"name":"countryCodeAlpha3","abstract":"
Optional: the ISO 3166-1 alpha-3 country code specified in the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)countryCodeNumeric":{"name":"countryCodeNumeric","abstract":"
Optional: The ISO 3166-1 numeric country code specified in the card’s billing address.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)shouldValidate":{"name":"shouldValidate","abstract":"
Controls whether or not to return validations and/or verification results. By default, this is not enabled.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)authenticationInsightRequested":{"name":"authenticationInsightRequested","abstract":"
Optional: If authentication insight is requested. If this property is set to true, a merchantAccountID
must be provided. Defaults to false.
","parent_name":"BTCard"},"Classes/BTCard.html#/c:@M@BraintreeCard@objc(cs)BTCard(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional: The merchant account ID.
","parent_name":"BTCard"},"Classes/BTAuthenticationInsight.html#/c:@M@BraintreeCard@objc(cs)BTAuthenticationInsight(py)regulationEnvironment":{"name":"regulationEnvironment","abstract":"
The regulation environment for the associated nonce to help determine the need for 3D Secure.","parent_name":"BTAuthenticationInsight"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(py)toolbarCustomization":{"name":"toolbarCustomization","abstract":"
Toolbar customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(py)labelCustomization":{"name":"labelCustomization","abstract":"
Label customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(py)textBoxCustomization":{"name":"textBoxCustomization","abstract":"
Text box customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2UICustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2UICustomization(im)setButtonCustomization:buttonType:":{"name":"setButton(_:buttonType:)","abstract":"
Set button customization options for 3D Secure 2 flows.
","parent_name":"BTThreeDSecureV2UICustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(py)backgroundColor":{"name":"backgroundColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(py)headerText":{"name":"headerText","abstract":"
Text for the header.
","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(py)buttonText":{"name":"buttonText","abstract":"
Text for the button. For example, “Cancel”.
","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2ToolbarCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ToolbarCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2ToolbarCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(py)borderWidth":{"name":"borderWidth","abstract":"
Width (integer value) of the text box border.
","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(py)borderColor":{"name":"borderColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(py)cornerRadius":{"name":"cornerRadius","abstract":"
Radius (integer value) for the text box corners.
","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2TextBoxCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2TextBoxCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2TextBoxCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(py)headingTextColor":{"name":"headingTextColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(py)headingTextFontName":{"name":"headingTextFontName","abstract":"
Font type for the heading label text.
","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(py)headingTextFontSize":{"name":"headingTextFontSize","abstract":"
Font size for the heading label text.
","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2LabelCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2LabelCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2LabelCustomization"},"Classes/BTThreeDSecureV2ButtonCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ButtonCustomization(py)backgroundColor":{"name":"backgroundColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2ButtonCustomization"},"Classes/BTThreeDSecureV2ButtonCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ButtonCustomization(py)cornerRadius":{"name":"cornerRadius","abstract":"
Radius (integer value) for the button corners.
","parent_name":"BTThreeDSecureV2ButtonCustomization"},"Classes/BTThreeDSecureV2ButtonCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2ButtonCustomization(im)init":{"name":"init()","parent_name":"BTThreeDSecureV2ButtonCustomization"},"Classes/BTThreeDSecureV2BaseCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2BaseCustomization(py)textFontName":{"name":"textFontName","abstract":"
Font type for the UI element.
","parent_name":"BTThreeDSecureV2BaseCustomization"},"Classes/BTThreeDSecureV2BaseCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2BaseCustomization(py)textColor":{"name":"textColor","abstract":"
Color code in Hex format. For example, the color code can be “#999999”.
","parent_name":"BTThreeDSecureV2BaseCustomization"},"Classes/BTThreeDSecureV2BaseCustomization.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureV2BaseCustomization(py)textFontSize":{"name":"textFontSize","abstract":"
Font size for the UI element.
","parent_name":"BTThreeDSecureV2BaseCustomization"},"Classes/BTThreeDSecureResult.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureResult(py)tokenizedCard":{"name":"tokenizedCard","abstract":"
The BTCardNonce
resulting from the 3D Secure flow
","parent_name":"BTThreeDSecureResult"},"Classes/BTThreeDSecureResult.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureResult(py)lookup":{"name":"lookup","abstract":"
The result of a 3D Secure lookup. Contains liability shift and challenge information.
","parent_name":"BTThreeDSecureResult"},"Classes/BTThreeDSecureResult.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureResult(py)errorMessage":{"name":"errorMessage","abstract":"
The error message when the 3D Secure flow is unsuccessful
","parent_name":"BTThreeDSecureResult"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)nonce":{"name":"nonce","abstract":"
A nonce to be verified by ThreeDSecure
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)amount":{"name":"amount","abstract":"
The amount for the transaction
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)accountType":{"name":"accountType","abstract":"
Optional. The account type selected by the cardholder
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)billingAddress":{"name":"billingAddress","abstract":"
Optional. The billing address used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)mobilePhoneNumber":{"name":"mobilePhoneNumber","abstract":"
Optional. The mobile phone number used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)email":{"name":"email","abstract":"
Optional. The email used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)shippingMethod":{"name":"shippingMethod","abstract":"
Optional. The shipping method chosen for the transaction
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)additionalInformation":{"name":"additionalInformation","abstract":"
Optional. The additional information used for verification
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)challengeRequested":{"name":"challengeRequested","abstract":"
Optional. If set to true, an authentication challenge will be forced if possible.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)exemptionRequested":{"name":"exemptionRequested","abstract":"
Optional. If set to true, an exemption to the authentication challenge will be requested.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)requestedExemptionType":{"name":"requestedExemptionType","abstract":"
Optional. The exemption type to be requested. If an exemption is requested and the exemption’s conditions are satisfied, then it will be applied.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)dataOnlyRequested":{"name":"dataOnlyRequested","abstract":"
Optional. Indicates whether to use the data only flow. In this flow, frictionless 3DS is ensured for Mastercard cardholders as the card scheme provides a risk score","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)cardAddChallenge":{"name":"cardAddChallenge","abstract":"
Optional. An authentication created using this property should only be used for adding a payment method to the merchant’s vault and not for creating transactions.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)v2UICustomization":{"name":"v2UICustomization","abstract":"
Optional. UI Customization for 3DS2 challenge views.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecureRequest.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureRequest(py)threeDSecureRequestDelegate":{"name":"threeDSecureRequestDelegate","abstract":"
A delegate for receiving information about the ThreeDSecure payment flow.
","parent_name":"BTThreeDSecureRequest"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)givenName":{"name":"givenName","abstract":"
Optional. Given name associated with the address
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)surname":{"name":"surname","abstract":"
Optional. Surname associated with the address
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)streetAddress":{"name":"streetAddress","abstract":"
Optional. Line 1 of the Address (eg. number, street, etc)
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)extendedAddress":{"name":"extendedAddress","abstract":"
Optional. Line 2 of the Address (eg. suite, apt #, etc.)
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)line3":{"name":"line3","abstract":"
Optional. Line 3 of the Address (eg. suite, apt #, etc.)
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)locality":{"name":"locality","abstract":"
Optional. City name
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)region":{"name":"region","abstract":"
Optional. Either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)postalCode":{"name":"postalCode","abstract":"
Optional. Zip code or equivalent is usually required for countries that have them.","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)countryCodeAlpha2":{"name":"countryCodeAlpha2","abstract":"
Optional. 2 letter country code
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(py)phoneNumber":{"name":"phoneNumber","abstract":"
Optional. The phone number associated with the address
","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecurePostalAddress.html#/c:@CM@BraintreeThreeDSecure@objc(cs)BTThreeDSecurePostalAddress(im)copyWithZone:":{"name":"copy(with:)","parent_name":"BTThreeDSecurePostalAddress"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)paReq":{"name":"paReq","abstract":"
The “PAReq” or “Payment Authentication Request” is the encoded request message used to initiate authentication.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)md":{"name":"md","abstract":"
The unique 3DS identifier assigned by Braintree to track the 3DS call as it progresses.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)acsURL":{"name":"acsURL","abstract":"
The URL which the customer will be redirected to for a 3DS Interface.","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)termURL":{"name":"termURL","abstract":"
The termURL is the fully qualified URL that the customer will be redirected to once the authentication completes.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)threeDSecureVersion":{"name":"threeDSecureVersion","abstract":"
The full version string of the 3DS lookup result.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)isThreeDSecureVersion2":{"name":"isThreeDSecureVersion2","abstract":"
Indicates a 3DS 2 lookup result.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)transactionID":{"name":"transactionID","abstract":"
This a secondary unique 3DS identifier assigned by Braintree to track the 3DS call as it progresses.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureLookup.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureLookup(py)requiresUserAuthentication":{"name":"requiresUserAuthentication","abstract":"
Indicates that a 3DS challenge is required.
","parent_name":"BTThreeDSecureLookup"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initialize a new BTThreeDSecureClient instance.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)startPaymentFlow:completion:":{"name":"startPaymentFlow(_:completion:)","abstract":"
Starts the 3DS flow using a BTThreeDSecureRequest.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)prepareLookup:completion:":{"name":"prepareLookup(_:completion:)","abstract":"
Creates a stringified JSON object containing the information necessary to perform a lookup.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)prepareLookup:completionHandler:":{"name":"prepareLookup(_:)","abstract":"
Creates a stringified JSON object containing the information necessary to perform a lookup.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)initializeChallengeWithLookupResponse:request:completion:":{"name":"initializeChallenge(lookupResponse:request:completion:)","abstract":"
Initialize a challenge from a server side lookup call.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureClient.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureClient(im)initializeChallengeWithLookupResponse:request:completionHandler:":{"name":"initializeChallenge(lookupResponse:request:)","abstract":"
Initialize a challenge from a server side lookup call.
","parent_name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingAddress":{"name":"shippingAddress","abstract":"
Optional. The shipping address used for verification
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingMethodIndicator":{"name":"shippingMethodIndicator","abstract":"
Optional. The 2-digit string indicating the shipping method chosen for the transaction
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)productCode":{"name":"productCode","abstract":"
Optional. The 3-letter string representing the merchant product code
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)deliveryTimeframe":{"name":"deliveryTimeframe","abstract":"
Optional. The 2-digit number indicating the delivery timeframe
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)deliveryEmail":{"name":"deliveryEmail","abstract":"
Optional. For electronic delivery, email address to which the merchandise was delivered
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)reorderIndicator":{"name":"reorderIndicator","abstract":"
Optional. The 2-digit number indicating whether the cardholder is reordering previously purchased merchandise
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)preorderIndicator":{"name":"preorderIndicator","abstract":"
Optional. The 2-digit number indicating whether the cardholder is placing an order with a future availability or release date
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)preorderDate":{"name":"preorderDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating expected date that a pre-ordered purchase will be available
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)giftCardAmount":{"name":"giftCardAmount","abstract":"
Optional. The purchase amount total for prepaid gift cards in major units
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)giftCardCurrencyCode":{"name":"giftCardCurrencyCode","abstract":"
Optional. ISO 4217 currency code for the gift card purchased
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)giftCardCount":{"name":"giftCardCount","abstract":"
Optional. Total count of individual prepaid gift cards purchased
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountAgeIndicator":{"name":"accountAgeIndicator","abstract":"
Optional. The 2-digit value representing the length of time since the last change to the cardholder account. This includes shipping address, new payment account or new user added.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountCreateDate":{"name":"accountCreateDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the cardholder’s account was last changed.","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountChangeIndicator":{"name":"accountChangeIndicator","abstract":"
Optional. The 2-digit value representing the length of time since the last change to the cardholder account. This includes shipping address, new payment account or new user added.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountChangeDate":{"name":"accountChangeDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the cardholder’s account was last changed.","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountPwdChangeIndicator":{"name":"accountPwdChangeIndicator","abstract":"
Optional. The 2-digit value representing the length of time since the cardholder changed or reset the password on the account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountPwdChangeDate":{"name":"accountPwdChangeDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the cardholder last changed or reset password on account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingAddressUsageIndicator":{"name":"shippingAddressUsageIndicator","abstract":"
Optional. The 2-digit value indicating when the shipping address used for transaction was first used.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingAddressUsageDate":{"name":"shippingAddressUsageDate","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date when the shipping address used for this transaction was first used.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)transactionCountDay":{"name":"transactionCountDay","abstract":"
Optional. Number of transactions (successful or abandoned) for this cardholder account within the last 24 hours.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)transactionCountYear":{"name":"transactionCountYear","abstract":"
Optional. Number of transactions (successful or abandoned) for this cardholder account within the last year.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)addCardAttempts":{"name":"addCardAttempts","abstract":"
Optional. Number of add card attempts in the last 24 hours.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountPurchases":{"name":"accountPurchases","abstract":"
Optional. Number of purchases with this cardholder account during the previous six months.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)fraudActivity":{"name":"fraudActivity","abstract":"
Optional. The 2-digit value indicating whether the merchant experienced suspicious activity (including previous fraud) on the account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)shippingNameIndicator":{"name":"shippingNameIndicator","abstract":"
Optional. The 2-digit value indicating if the cardholder name on the account is identical to the shipping name used for the transaction.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)paymentAccountIndicator":{"name":"paymentAccountIndicator","abstract":"
Optional. The 2-digit value indicating the length of time that the payment account was enrolled in the merchant account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)paymentAccountAge":{"name":"paymentAccountAge","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date the payment account was added to the cardholder account.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)addressMatch":{"name":"addressMatch","abstract":"
Optional. The 1-character value (Y/N) indicating whether cardholder billing and shipping addresses match.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)accountID":{"name":"accountID","abstract":"
Optional. Additional cardholder account information.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)ipAddress":{"name":"ipAddress","abstract":"
Optional. The IP address of the consumer. IPv4 and IPv6 are supported.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)orderDescription":{"name":"orderDescription","abstract":"
Optional. Brief description of items purchased.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)taxAmount":{"name":"taxAmount","abstract":"
Optional. Unformatted tax amount without any decimalization (ie. $123.67 = 12367).
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)userAgent":{"name":"userAgent","abstract":"
Optional. The exact content of the HTTP user agent header.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)authenticationIndicator":{"name":"authenticationIndicator","abstract":"
Optional. The 2-digit number indicating the type of authentication request.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)installment":{"name":"installment","abstract":"
Optional. An integer value greater than 1 indicating the maximum number of permitted authorizations for installment payments.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)purchaseDate":{"name":"purchaseDate","abstract":"
Optional. The 14-digit number (format: YYYYMMDDHHMMSS) indicating the date in UTC of original purchase.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)recurringEnd":{"name":"recurringEnd","abstract":"
Optional. The 8-digit number (format: YYYYMMDD) indicating the date after which no further recurring authorizations should be performed.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)recurringFrequency":{"name":"recurringFrequency","abstract":"
Optional. Integer value indicating the minimum number of days between recurring authorizations.","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)sdkMaxTimeout":{"name":"sdkMaxTimeout","abstract":"
Optional. The 2-digit number of minutes (minimum 05) to set the maximum amount of time for all 3DS 2.0 messages to be communicated between all components.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTThreeDSecureAdditionalInformation.html#/c:@M@BraintreeThreeDSecure@objc(cs)BTThreeDSecureAdditionalInformation(py)workPhoneNumber":{"name":"workPhoneNumber","abstract":"
Optional. The work phone number used for verification. Only numbers; remove dashes, parenthesis and other characters.
","parent_name":"BTThreeDSecureAdditionalInformation"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)billingAddress":{"name":"billingAddress","abstract":"
The billing address.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)clientMetadataID":{"name":"clientMetadataID","abstract":"
Client Metadata ID associated with this transaction.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)email":{"name":"email","abstract":"
Payer’s email address.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)firstName":{"name":"firstName","abstract":"
Payer’s first name.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)lastName":{"name":"lastName","abstract":"
Payer’s last name.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)nonce":{"name":"nonce","abstract":"
The one-time use payment method nonce.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)payerID":{"name":"payerID","abstract":"
Payer ID associated with this transaction.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)phone":{"name":"phone","abstract":"
Payer’s phone number.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)shippingAddress":{"name":"shippingAddress","abstract":"
The shipping address.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentResult.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentResult(py)type":{"name":"type","abstract":"
The type of the tokenized payment.
","parent_name":"BTLocalPaymentResult"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)paymentType":{"name":"paymentType","abstract":"
The type of payment.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)paymentTypeCountryCode":{"name":"paymentTypeCountryCode","abstract":"
The country code of the local payment.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional: The address of the customer. An error will occur if this address is not valid.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)address":{"name":"address","abstract":"
Optional: The address of the customer. An error will occur if this address is not valid.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)amount":{"name":"amount","abstract":"
The amount for the transaction.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)currencyCode":{"name":"currencyCode","abstract":"
Optional: A valid ISO currency code to use for the transaction. Defaults to merchant currency code if not set.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)displayName":{"name":"displayName","abstract":"
Optional: The merchant name displayed inside of the local payment flow.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)email":{"name":"email","abstract":"
Optional: Payer email of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)givenName":{"name":"givenName","abstract":"
Optional: Given (first) name of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)surname":{"name":"surname","abstract":"
Optional: Surname (last name) of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)phone":{"name":"phone","abstract":"
Optional: Phone number of the customer.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)isShippingAddressRequired":{"name":"isShippingAddressRequired","abstract":"
Indicates whether or not the payment needs to be shipped. For digital goods, this should be false. Defaults to false.
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)bic":{"name":"bic","abstract":"
Optional: Bank Identification Code of the customer (specific to iDEAL transactions).
","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentRequest.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentRequest(py)localPaymentFlowDelegate":{"name":"localPaymentFlowDelegate","parent_name":"BTLocalPaymentRequest"},"Classes/BTLocalPaymentClient.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initialize a new BTLocalPaymentClient
instance.
","parent_name":"BTLocalPaymentClient"},"Classes/BTLocalPaymentClient.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentClient(im)startPaymentFlow:completion:":{"name":"startPaymentFlow(_:completion:)","abstract":"
Starts a payment flow using a BTLocalPaymentRequest
","parent_name":"BTLocalPaymentClient"},"Classes/BTLocalPaymentClient.html#/c:@M@BraintreeLocalPayment@objc(cs)BTLocalPaymentClient(im)startPaymentFlow:completionHandler:":{"name":"startPaymentFlow(_:)","abstract":"
Starts a payment flow using a BTLocalPaymentRequest
","parent_name":"BTLocalPaymentClient"},"Classes/BTApplePayClient.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates an Apple Pay client
","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayClient(im)makePaymentRequest:":{"name":"makePaymentRequest(completion:)","abstract":"
Creates a PKPaymentRequest
with values from your Braintree Apple Pay configuration.","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/s:17BraintreeApplePay07BTAppleC6ClientC18makePaymentRequestSo09PKPaymentH0CyYaKF":{"name":"makePaymentRequest()","abstract":"
Creates a PKPaymentRequest
with values from your Braintree Apple Pay configuration.","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayClient(im)tokenizeApplePayPayment:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenizes an Apple Pay payment.
","parent_name":"BTApplePayClient"},"Classes/BTApplePayClient.html#/s:17BraintreeApplePay07BTAppleC6ClientC8tokenizeyAA0dC9CardNonceCSo9PKPaymentCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenizes an Apple Pay payment.
","parent_name":"BTApplePayClient"},"Classes/BTApplePayCardNonce.html#/c:@M@BraintreeApplePay@objc(cs)BTApplePayCardNonce(py)binData":{"name":"binData","abstract":"
The BIN data for the card number associated with this nonce.
","parent_name":"BTApplePayCardNonce"},"Classes/BTDataCollector.html#/c:@M@BraintreeDataCollector@objc(cs)BTDataCollector(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initializes a BTDataCollector
instance with a BTAPIClient
.
","parent_name":"BTDataCollector"},"Classes/BTDataCollector.html#/c:@M@BraintreeDataCollector@objc(cs)BTDataCollector(im)clientMetadataID:":{"name":"clientMetadataID(_:)","abstract":"
Returns a client metadata ID.
","parent_name":"BTDataCollector"},"Classes/BTDataCollector.html#/c:@M@BraintreeDataCollector@objc(cs)BTDataCollector(im)collectDeviceData:":{"name":"collectDeviceData(_:)","abstract":"
Collects device data based on your merchant configuration.
","parent_name":"BTDataCollector"},"Classes/BTDataCollector.html#/s:22BraintreeDataCollector06BTDataC0C013collectDeviceB0SSyYaKF":{"name":"collectDeviceData()","abstract":"
Collects device data based on your merchant configuration.
","parent_name":"BTDataCollector"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)errorCode":{"name":"errorCode","abstract":"
Optional. An error code when there was an issue fetching the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)errorMessage":{"name":"errorMessage","abstract":"
Optional. An error message when there was an issue fetching the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)conversionRate":{"name":"conversionRate","abstract":"
Optional. The conversion rate associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)currencyAmount":{"name":"currencyAmount","abstract":"
Optional. The currency amount associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)currencyIsoCode":{"name":"currencyIsoCode","abstract":"
Optional. The currency ISO code associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)requestID":{"name":"requestID","abstract":"
Optional. The request ID used when fetching the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)rewardsAmount":{"name":"rewardsAmount","abstract":"
Optional. The rewards amount associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressRewardsBalance.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressRewardsBalance(py)rewardsUnit":{"name":"rewardsUnit","abstract":"
Optional. The rewards unit associated with the rewards balance
","parent_name":"BTAmericanExpressRewardsBalance"},"Classes/BTAmericanExpressClient.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates an American Express client.
","parent_name":"BTAmericanExpressClient"},"Classes/BTAmericanExpressClient.html#/c:@M@BraintreeAmericanExpress@objc(cs)BTAmericanExpressClient(im)getRewardsBalanceForNonce:currencyIsoCode:completion:":{"name":"getRewardsBalance(forNonce:currencyISOCode:completion:)","abstract":"
Gets the rewards balance associated with a Braintree nonce. Only for American Express cards.
","parent_name":"BTAmericanExpressClient"},"Classes/BTAmericanExpressClient.html#/s:24BraintreeAmericanExpress010BTAmericanC6ClientC17getRewardsBalance8forNonce15currencyISOCodeAA0dcgH0CSS_SStYaKF":{"name":"getRewardsBalance(forNonce:currencyISOCode:)","abstract":"
Gets the rewards balance associated with a Braintree nonce. Only for American Express cards.
","parent_name":"BTAmericanExpressClient"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)accountHolderName":{"name":"accountHolderName","abstract":"
Required. The account holder name.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)iban":{"name":"iban","abstract":"
Required. The full IBAN.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)customerID":{"name":"customerID","abstract":"
Required. The customer ID.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC7RequestC11mandateTypeAA0dc7MandateG0OSgvp":{"name":"mandateType","abstract":"
Optional. The BTSEPADebitMandateType
. If not set, defaults to .oneOff
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)billingAddress":{"name":"billingAddress","abstract":"
Required. The user’s billing address.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitRequest(py)merchantAccountID":{"name":"merchantAccountID","abstract":"
Optional. A non-default merchant account to use for tokenization.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitRequest.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC7RequestC17accountHolderName4iban10customerID11mandateType14billingAddress015merchantAccountK0ACSSSg_A2jA0dc7MandateM0OSg0A4Core08BTPostalO0CSgAJtcfc":{"name":"init(accountHolderName:iban:customerID:mandateType:billingAddress:merchantAccountID:)","abstract":"
Initialize a new SEPA Direct Debit request.
","parent_name":"BTSEPADirectDebitRequest"},"Classes/BTSEPADirectDebitNonce.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitNonce(py)ibanLastFour":{"name":"ibanLastFour","abstract":"
The IBAN last four characters.
","parent_name":"BTSEPADirectDebitNonce"},"Classes/BTSEPADirectDebitNonce.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitNonce(py)customerID":{"name":"customerID","abstract":"
The customer ID.
","parent_name":"BTSEPADirectDebitNonce"},"Classes/BTSEPADirectDebitNonce.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC5NonceC11mandateTypeAA0dc7MandateG0OSgvp":{"name":"mandateType","abstract":"
The BTSEPADebitMandateType
.
","parent_name":"BTSEPADirectDebitNonce"},"Classes/BTSEPADirectDebitClient.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Creates a SEPA Direct Debit client.
","parent_name":"BTSEPADirectDebitClient"},"Classes/BTSEPADirectDebitClient.html#/c:@M@BraintreeSEPADirectDebit@objc(cs)BTSEPADirectDebitClient(im)tokenizeWithSEPADirectDebitRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Initiates an ASWebAuthenticationSession
to display a mandate to the user. Upon successful mandate creation, tokenizes the payment method and returns a result
","parent_name":"BTSEPADirectDebitClient"},"Classes/BTSEPADirectDebitClient.html#/s:24BraintreeSEPADirectDebit012BTSEPADirectC6ClientC8tokenizeyAA0dC5NonceCAA0dC7RequestCYaKF":{"name":"tokenize(_:)","abstract":"
Initiates an ASWebAuthenticationSession
to display a mandate to the user. Upon successful mandate creation, tokenizes the payment method and returns a result
","parent_name":"BTSEPADirectDebitClient"},"Classes/BTPayPalNativeVaultRequest.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeVaultRequest(im)initWithOfferCredit:billingAgreementDescription:":{"name":"init(offerCredit:billingAgreementDescription:)","abstract":"
Initializes a PayPal Native Vault request
","parent_name":"BTPayPalNativeVaultRequest"},"Classes/BTPayPalNativeCheckoutRequest.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutRequest(im)initWithAmount:intent:offerPayLater:currencyCode:requestBillingAgreement:billingAgreementDescription:":{"name":"init(amount:intent:offerPayLater:currencyCode:requestBillingAgreement:billingAgreementDescription:)","abstract":"
Initializes a PayPal Native Checkout request
","parent_name":"BTPayPalNativeCheckoutRequest"},"Classes/BTPayPalNativeCheckoutClient.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutClient(im)initWithAPIClient:":{"name":"init(apiClient:)","abstract":"
Initializes a PayPal Native client.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutClient(im)tokenizeWithNativeCheckoutRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Checkout flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/s:29BraintreePayPalNativeCheckout05BTPaycdE6ClientC8tokenizeyAA0fcdE12AccountNonceCAA0fcdE7RequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Checkout flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutClient(im)tokenizeWithNativeVaultRequest:completion:":{"name":"tokenize(_:completion:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Vault flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutClient.html#/s:29BraintreePayPalNativeCheckout05BTPaycdE6ClientC8tokenizeyAA0fcdE12AccountNonceCAA0fcD12VaultRequestCYaKF":{"name":"tokenize(_:)","abstract":"
Tokenize a PayPal request to be used with the PayPal Native Vault flow.
","parent_name":"BTPayPalNativeCheckoutClient"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)email":{"name":"email","abstract":"
Payer’s email address.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)firstName":{"name":"firstName","abstract":"
Payer’s first name.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)lastName":{"name":"lastName","abstract":"
Payer’s last name.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)phone":{"name":"phone","abstract":"
Payer’s phone number.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)billingAddress":{"name":"billingAddress","abstract":"
The billing address.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)shippingAddress":{"name":"shippingAddress","abstract":"
The shipping address.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)clientMetadataID":{"name":"clientMetadataID","abstract":"
Client metadata id associated with this transaction.
","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTPayPalNativeCheckoutAccountNonce.html#/c:@M@BraintreePayPalNativeCheckout@objc(cs)BTPayPalNativeCheckoutAccountNonce(py)payerID":{"name":"payerID","abstract":"
Optional. Payer id associated with this transaction.","parent_name":"BTPayPalNativeCheckoutAccountNonce"},"Classes/BTURLUtils.html#/c:@M@BraintreeCore@objc(cs)BTURLUtils(cm)queryStringWithDictionary:":{"name":"queryString(from:)","abstract":"
Converts a key/value dictionary to a valid query string
","parent_name":"BTURLUtils"},"Classes/BTURLUtils.html#/c:@M@BraintreeCore@objc(cs)BTURLUtils(cm)queryParametersForURL:":{"name":"queryParameters(for:)","abstract":"
Extract query parameters from a URL
","parent_name":"BTURLUtils"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)recipientName":{"name":"recipientName","abstract":"
Optional. Recipient name for shipping address.
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)streetAddress":{"name":"streetAddress","abstract":"
Line 1 of the Address (eg. number, street, etc).
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)extendedAddress":{"name":"extendedAddress","abstract":"
Optional line 2 of the Address (eg. suite, apt #, etc.).
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)locality":{"name":"locality","abstract":"
City name
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)countryCodeAlpha2":{"name":"countryCodeAlpha2","abstract":"
2 letter country code.
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)postalCode":{"name":"postalCode","abstract":"
Zip code or equivalent is usually required for countries that have them.","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(py)region":{"name":"region","abstract":"
Either a two-letter state code (for the US), or an ISO-3166-2 country subdivision code of up to three letters.
","parent_name":"BTPostalAddress"},"Classes/BTPostalAddress.html#/c:@M@BraintreeCore@objc(cs)BTPostalAddress(im)copyWithZone:":{"name":"copy(with:)","parent_name":"BTPostalAddress"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(cpy)sharedParser":{"name":"shared","abstract":"
The singleton instance
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(py)allTypes":{"name":"allTypes","abstract":"
An array of the tokenization types currently registered
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(im)isTypeAvailable:":{"name":"isTypeAvailable(_:)","abstract":"
Indicates whether a tokenization type is currently registered
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(im)registerType:withParsingBlock:":{"name":"registerType(_:withParsingBlock:)","abstract":"
Registers a parsing block for a tokenization type.
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonceParser.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonceParser(im)parseJSON:withParsingBlockForType:":{"name":"parseJSON(_:withParsingBlockForType:)","abstract":"
Parses tokenized payment information that has been serialized to JSON, and returns a BTPaymentMethodNonce
object.
","parent_name":"BTPaymentMethodNonceParser"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(py)nonce":{"name":"nonce","abstract":"
The payment method nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(py)type":{"name":"type","abstract":"
The string identifying the type of the payment method.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(py)isDefault":{"name":"isDefault","abstract":"
The boolean indicating whether this is a default payment method.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(im)initWithNonce:":{"name":"init(nonce:)","abstract":"
Initialize a new Payment Method Nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(im)initWithNonce:type:":{"name":"init(nonce:type:)","abstract":"
Initialize a new Payment Method Nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTPaymentMethodNonce.html#/c:@M@BraintreeCore@objc(cs)BTPaymentMethodNonce(im)initWithNonce:type:isDefault:":{"name":"init(nonce:type:isDefault:)","abstract":"
Initialize a new Payment Method Nonce.
","parent_name":"BTPaymentMethodNonce"},"Classes/BTLogLevelDescription.html#/c:@M@BraintreeCore@objc(cs)BTLogLevelDescription(cm)stringFor:":{"name":"string(for:)","parent_name":"BTLogLevelDescription"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)init":{"name":"init()","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)initWithValue:":{"name":"init(value:)","abstract":"
Initialize with a value.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)initWithData:":{"name":"init(data:)","abstract":"
Initialize with data.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isString":{"name":"isString","abstract":"
Checks if the BTJSON
is a String
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isBool":{"name":"isBool","abstract":"
Checks if the BTJSON
is a Bool
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isNumber":{"name":"isNumber","abstract":"
Checks if the BTJSON
is a NSNumber
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isArray":{"name":"isArray","abstract":"
Checks if the BTJSON
is a [Any]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isObject":{"name":"isObject","abstract":"
Checks if the BTJSON
is a [String: Any]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isError":{"name":"isError","abstract":"
Checks if the BTJSON
is an error.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isTrue":{"name":"isTrue","abstract":"
Checks if the BTJSON
is a value representing true
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isFalse":{"name":"isFalse","abstract":"
Checks if the BTJSON
is a value representing false
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(py)isNull":{"name":"isNull","abstract":"
Checks if the BTJSON
is a value representing nil
","parent_name":"BTJSON"},"Classes/BTJSON.html#/s:13BraintreeCore6BTJSONCyACSicip":{"name":"subscript(_:)","abstract":"
Indexes into the JSON as if the current value is an object
","parent_name":"BTJSON"},"Classes/BTJSON.html#/s:13BraintreeCore6BTJSONCyACSScip":{"name":"subscript(_:)","abstract":"
Indexes into the JSON as if the current value is an array
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asError":{"name":"asError()","abstract":"
The BTJSON
as a NSError
.
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asString":{"name":"asString()","abstract":"
The BTJSON
as a String
","parent_name":"BTJSON"},"Classes/BTJSON.html#/s:13BraintreeCore6BTJSONC6asBoolSbSgyF":{"name":"asBool()","abstract":"
The BTJSON
as a Bool
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asArray":{"name":"asArray()","abstract":"
The BTJSON
as a [BTJSON]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asNumber":{"name":"asNumber()","abstract":"
The BTJSON
as a NSNumber
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asURL":{"name":"asURL()","abstract":"
The BTJSON
as a URL
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asStringArray":{"name":"asStringArray()","abstract":"
The BTJSON
as a [String]
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asDictionary":{"name":"asDictionary()","abstract":"
The BTJSON
as a NSDictionary
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asIntegerOrZero":{"name":"asIntegerOrZero()","abstract":"
The BTJSON
as a Int
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asEnum:orDefault:":{"name":"asEnum(_:orDefault:)","abstract":"
The BTJSON
as an Enum
","parent_name":"BTJSON"},"Classes/BTJSON.html#/c:@M@BraintreeCore@objc(cs)BTJSON(im)asAddress":{"name":"asAddress()","abstract":"
The BTJSON
as a BTPostalAddress
","parent_name":"BTJSON"},"Classes/BTConfiguration.html#/c:@M@BraintreeCore@objc(cs)BTConfiguration(py)json":{"name":"json","abstract":"
The merchant account’s configuration as a BTJSON
object
","parent_name":"BTConfiguration"},"Classes/BTConfiguration.html#/c:@M@BraintreeCore@objc(cs)BTConfiguration(py)environment":{"name":"environment","abstract":"
The environment (production or sandbox)
","parent_name":"BTConfiguration"},"Classes/BTConfiguration.html#/c:@M@BraintreeCore@objc(cs)BTConfiguration(im)initWithJSON:":{"name":"init(json:)","abstract":"
Used to initialize a BTConfiguration
","parent_name":"BTConfiguration"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)encodeWithCoder:":{"name":"encode(with:)","parent_name":"BTClientToken"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)initWithCoder:":{"name":"init(coder:)","parent_name":"BTClientToken"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)copyWithZone:":{"name":"copy(with:)","parent_name":"BTClientToken"},"Classes/BTClientToken.html#/c:@M@BraintreeCore@objc(cs)BTClientToken(im)isEqual:":{"name":"isEqual(_:)","parent_name":"BTClientToken"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)integration":{"name":"integration","abstract":"
Integration type
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)source":{"name":"source","abstract":"
Integration source
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)sessionID":{"name":"sessionID","abstract":"
Auto-generated UUID
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)integrationString":{"name":"integrationString","abstract":"
String representation of the integration
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)sourceString":{"name":"sourceString","abstract":"
String representation of the source
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(py)parameters":{"name":"parameters","abstract":"
Additional metadata parameters
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(im)init":{"name":"init()","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(im)mutableCopyWithZone:":{"name":"mutableCopy(with:)","abstract":"
Create a copy as BTMutableClientMetadata
","parent_name":"BTClientMetadata"},"Classes/BTClientMetadata.html#/c:@M@BraintreeCore@objc(cs)BTClientMetadata(im)copyWithZone:":{"name":"copy(with:)","abstract":"
Creates a copy of BTClientMetadata
","parent_name":"BTClientMetadata"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)prepaid":{"name":"prepaid","abstract":"
Whether the card is a prepaid card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)healthcare":{"name":"healthcare","abstract":"
Whether the card is a healthcare card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)debit":{"name":"debit","abstract":"
Whether the card is a debit card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)durbinRegulated":{"name":"durbinRegulated","abstract":"
A value indicating whether the issuing bank’s card range is regulated by the Durbin Amendment due to the bank’s assets. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)commercial":{"name":"commercial","abstract":"
Whether the card type is a commercial card and is capable of processing Level 2 transactions. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)payroll":{"name":"payroll","abstract":"
Whether the card is a payroll card. Possible values: Yes/No/Unknown
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)issuingBank":{"name":"issuingBank","abstract":"
The bank that issued the credit card, if available.
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)countryOfIssuance":{"name":"countryOfIssuance","abstract":"
The country that issued the credit card, if available.
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(py)productID":{"name":"productID","abstract":"
The code for the product type of the card (e.g. D
(Visa Signature Preferred), G
(Visa Business)), if available.
","parent_name":"BTBinData"},"Classes/BTBinData.html#/c:@M@BraintreeCore@objc(cs)BTBinData(im)initWithJSON:":{"name":"init(json:)","abstract":"
Create a BTBinData
object from JSON.
","parent_name":"BTBinData"},"Classes/BTAppContextSwitcher.html#/c:@M@BraintreeCore@objc(cs)BTAppContextSwitcher(cpy)sharedInstance":{"name":"sharedInstance","abstract":"
Singleton for shared instance of BTAppContextSwitcher
","parent_name":"BTAppContextSwitcher"},"Classes/BTAppContextSwitcher.html#/c:@M@BraintreeCore@objc(cs)BTAppContextSwitcher(py)returnURLScheme":{"name":"returnURLScheme","abstract":"
The URL scheme to return to this app after switching to another app or opening a SFSafariViewController.","parent_name":"BTAppContextSwitcher"},"Classes/BTAppContextSwitcher.html#/c:@M@BraintreeCore@objc(cs)BTAppContextSwitcher(im)registerAppContextSwitchClient:":{"name":"register(_:)","abstract":"
Registers a class Type
that can handle a return from app context switch with a static method.
","parent_name":"BTAppContextSwitcher"},"Classes/BTAPIPinnedCertificates.html#/c:@M@BraintreeCore@objc(cs)BTAPIPinnedCertificates(cm)trustedCertificates":{"name":"trustedCertificates()","parent_name":"BTAPIPinnedCertificates"},"Classes/BTAPIClient.html#/s:13BraintreeCore11BTAPIClientC17RequestCompletiona":{"name":"RequestCompletion","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(py)tokenizationKey":{"name":"tokenizationKey","abstract":"
The tokenization key used to authorize the APIClient
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(py)clientToken":{"name":"clientToken","abstract":"
The client token used to authorize the APIClient
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(py)metadata":{"name":"metadata","abstract":"
Client metadata that is used for tracking the client session
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)initWithAuthorization:":{"name":"init(authorization:)","abstract":"
Initialize a new API client.
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)fetchOrReturnRemoteConfiguration:":{"name":"fetchOrReturnRemoteConfiguration(_:)","abstract":"
Provides configuration data as a BTJSON
object.
","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)fetchPaymentMethodNonces:":{"name":"fetchPaymentMethodNonces(_:)","abstract":"
Fetches a customer’s vaulted payment method nonces.","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html#/c:@M@BraintreeCore@objc(cs)BTAPIClient(im)fetchPaymentMethodNonces:completion:":{"name":"fetchPaymentMethodNonces(_:completion:)","abstract":"
Fetches a customer’s vaulted payment method nonces.","parent_name":"BTAPIClient"},"Classes/BTAPIClient.html":{"name":"BTAPIClient","abstract":"
This class acts as the entry point for accessing the Braintree APIs via common HTTP methods performed on API endpoints.
"},"Classes/BTAPIPinnedCertificates.html":{"name":"BTAPIPinnedCertificates","abstract":"
THIS CODE IS GENERATED BY codify_certificates.swift
"},"Classes/BTAppContextSwitcher.html":{"name":"BTAppContextSwitcher","abstract":"
Handles return URLs when returning from app context switch and routes the return URL to the correct app context switch client class.
"},"Classes/BTBinData.html":{"name":"BTBinData","abstract":"
Contains the bin data associated with a payment method
"},"Classes/BTClientMetadata.html":{"name":"BTClientMetadata","abstract":"
Represents the metadata associated with a session for posting along with payment data during tokenization.
"},"Classes/BTClientToken.html":{"name":"BTClientToken","abstract":"
An authorization string used to initialize the Braintree SDK
"},"Classes/BTConfiguration.html":{"name":"BTConfiguration","abstract":"
Contains information specific to a merchant’s Braintree integration
"},"Classes/BTJSON.html":{"name":"BTJSON","abstract":"
A type-safe wrapper around JSON"},"Classes/BTLogLevelDescription.html":{"name":"BTLogLevelDescription","abstract":"
Wrapper for accessing the string value of the log level
"},"Classes.html#/c:@M@BraintreeCore@objc(cs)BTMutableClientMetadata":{"name":"BTMutableClientMetadata","abstract":"
Required for Objective-C compatibility. Necessary behavior is provided by the swift version.
"},"Classes/BTPaymentMethodNonce.html":{"name":"BTPaymentMethodNonce","abstract":"
BTPaymentMethodNonce is for generic tokenized payment information.
"},"Classes/BTPaymentMethodNonceParser.html":{"name":"BTPaymentMethodNonceParser","abstract":"
A JSON parser that parses BTJSON
into concrete BTPaymentMethodNonce
objects. It supports registration of parsers at runtime.
"},"Classes/BTPostalAddress.html":{"name":"BTPostalAddress","abstract":"
Generic postal address
"},"Classes/BTURLUtils.html":{"name":"BTURLUtils","abstract":"
A helper class for converting URL queries to and from dictionaries
"},"Classes/BTPayPalNativeCheckoutAccountNonce.html":{"name":"BTPayPalNativeCheckoutAccountNonce","abstract":"
Contains information about a PayPal payment method.
"},"Classes/BTPayPalNativeCheckoutClient.html":{"name":"BTPayPalNativeCheckoutClient","abstract":"
Client used to collect PayPal payment methods. If possible, this client will present a native flow; otherwise, it will fall back to a web flow.
"},"Classes/BTPayPalNativeCheckoutRequest.html":{"name":"BTPayPalNativeCheckoutRequest","abstract":"
Options for the PayPal Checkout flow.
"},"Classes/BTPayPalNativeVaultRequest.html":{"name":"BTPayPalNativeVaultRequest","abstract":"
Options for the PayPal Vault flow.
"},"Classes/BTSEPADirectDebitClient.html":{"name":"BTSEPADirectDebitClient","abstract":"
Used to integrate with SEPA Direct Debit.
"},"Classes/BTSEPADirectDebitNonce.html":{"name":"BTSEPADirectDebitNonce","abstract":"
A payment method nonce representing a SEPA Direct Debit payment.
"},"Classes/BTSEPADirectDebitRequest.html":{"name":"BTSEPADirectDebitRequest","abstract":"
Parameters for creating a SEPA Direct Debit tokenization request.
"},"Classes/BTAmericanExpressClient.html":{"name":"BTAmericanExpressClient","abstract":"
BTAmericanExpressClient
enables you to look up the rewards balance of American Express cards.
"},"Classes/BTAmericanExpressRewardsBalance.html":{"name":"BTAmericanExpressRewardsBalance","abstract":"
Contains information about an American Express rewards balance.
"},"Classes/BTDataCollector.html":{"name":"BTDataCollector","abstract":"
Braintree’s advanced fraud protection solution.
"},"Classes/BTApplePayCardNonce.html":{"name":"BTApplePayCardNonce","abstract":"
Contains information about a tokenized Apple Pay card.
"},"Classes/BTApplePayClient.html":{"name":"BTApplePayClient","abstract":"
Used to process Apple Pay payments
"},"Classes/BTLocalPaymentClient.html":{"name":"BTLocalPaymentClient"},"Classes/BTLocalPaymentRequest.html":{"name":"BTLocalPaymentRequest","abstract":"
Used to initialize a local payment flow
"},"Classes/BTLocalPaymentResult.html":{"name":"BTLocalPaymentResult"},"Classes/BTThreeDSecureAdditionalInformation.html":{"name":"BTThreeDSecureAdditionalInformation","abstract":"
Additional information for a 3DS lookup. Used in 3DS 2.0+ flows.
"},"Classes/BTThreeDSecureClient.html":{"name":"BTThreeDSecureClient"},"Classes/BTThreeDSecureLookup.html":{"name":"BTThreeDSecureLookup","abstract":"
The result of a 3DS lookup."},"Classes/BTThreeDSecurePostalAddress.html":{"name":"BTThreeDSecurePostalAddress","abstract":"
Postal address for 3D Secure flows
"},"Classes/BTThreeDSecureRequest.html":{"name":"BTThreeDSecureRequest","abstract":"
Used to initialize a 3D Secure payment flow
"},"Classes/BTThreeDSecureResult.html":{"name":"BTThreeDSecureResult","abstract":"
The result of a 3D Secure payment flow
"},"Classes/BTThreeDSecureV2BaseCustomization.html":{"name":"BTThreeDSecureV2BaseCustomization","abstract":"
Base customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2ButtonCustomization.html":{"name":"BTThreeDSecureV2ButtonCustomization","abstract":"
Button customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2LabelCustomization.html":{"name":"BTThreeDSecureV2LabelCustomization","abstract":"
Label customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2TextBoxCustomization.html":{"name":"BTThreeDSecureV2TextBoxCustomization","abstract":"
Text box customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2ToolbarCustomization.html":{"name":"BTThreeDSecureV2ToolbarCustomization","abstract":"
Toolbar customization options for 3D Secure 2 flows.
"},"Classes/BTThreeDSecureV2UICustomization.html":{"name":"BTThreeDSecureV2UICustomization","abstract":"
UI customization options for 3D Secure 2 flows.
"},"Classes/BTAuthenticationInsight.html":{"name":"BTAuthenticationInsight","abstract":"
Information pertaining to the regulatory environment for a credit card if authentication insight is requested during tokenization.
"},"Classes/BTCard.html":{"name":"BTCard","abstract":"
The card tokenization request represents raw credit or debit card data provided by the customer."},"Classes/BTCardClient.html":{"name":"BTCardClient","abstract":"
Used to process cards
"},"Classes/BTCardNonce.html":{"name":"BTCardNonce","abstract":"
Contains information about a tokenized card.
"},"Classes/BTCardRequest.html":{"name":"BTCardRequest","abstract":"
Contains information about a card to tokenize
"},"Classes/BTThreeDSecureInfo.html":{"name":"BTThreeDSecureInfo","abstract":"
Contains information about the 3D Secure status of a payment method
"},"Classes/BTPayPalAccountNonce.html":{"name":"BTPayPalAccountNonce","abstract":"
Contains information about a PayPal payment method
"},"Classes/BTPayPalCheckoutRequest.html":{"name":"BTPayPalCheckoutRequest","abstract":"
Options for the PayPal Checkout flow.
"},"Classes/BTPayPalClient.html":{"name":"BTPayPalClient"},"Classes/BTPayPalCreditFinancing.html":{"name":"BTPayPalCreditFinancing","abstract":"
Contains information about a PayPal credit financing option
"},"Classes/BTPayPalCreditFinancingAmount.html":{"name":"BTPayPalCreditFinancingAmount","abstract":"
Contains information about a PayPal credit amount
"},"Classes/BTPayPalLineItem.html":{"name":"BTPayPalLineItem","abstract":"
A PayPal line item to be displayed in the PayPal checkout flow.
"},"Classes/BTPayPalRequest.html":{"name":"BTPayPalRequest","abstract":"
Base options for PayPal Checkout and PayPal Vault flows.
"},"Classes/BTPayPalVaultRequest.html":{"name":"BTPayPalVaultRequest","abstract":"
Options for the PayPal Vault flow.
"},"Classes/BTVenmoAccountNonce.html":{"name":"BTVenmoAccountNonce","abstract":"
Contains information about a Venmo Account payment method
"},"Classes/BTVenmoClient.html":{"name":"BTVenmoClient","abstract":"
Used to process Venmo payments
"},"Classes/BTVenmoRequest.html":{"name":"BTVenmoRequest","abstract":"
A BTVenmoRequest specifies options that contribute to the Venmo flow
"},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"
The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"
The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"
The following protocols are available globally.
"}}
\ No newline at end of file
diff --git a/6.0.0-beta4/undocumented.json b/6.0.0-beta4/undocumented.json
new file mode 100644
index 0000000000..929858ab22
--- /dev/null
+++ b/6.0.0-beta4/undocumented.json
@@ -0,0 +1,6 @@
+{
+ "warnings": [
+
+ ],
+ "source_directory": "/Users/scannillo/bt/braintree_ios"
+}
\ No newline at end of file
diff --git a/current b/current
index 8776aa28f4..efe67c02e6 120000
--- a/current
+++ b/current
@@ -1 +1 @@
-6.0.0-beta3
\ No newline at end of file
+6.0.0-beta4
\ No newline at end of file