UNPKG

braintree

Version:

A library for integrating with Braintree.

32 lines (19 loc) 1.3 kB
//@ sourceMappingURL=customer_search.map // Generated by CoffeeScript 1.6.1 var AdvancedSearch, CustomerSearch, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; AdvancedSearch = require('./advanced_search').AdvancedSearch; CustomerSearch = (function(_super) { __extends(CustomerSearch, _super); function CustomerSearch() { return CustomerSearch.__super__.constructor.apply(this, arguments); } CustomerSearch.textFields("addressCountryName", "addressExtendedAddress", "addressFirstName", "addressLastName", "addressLocality", "addressPostalCode", "addressRegion", "addressStreetAddress", "cardholderName", "company", "email", "fax", "firstName", "id", "lastName", "paymentMethodToken", "phone", "website"); CustomerSearch.equalityFields("creditCardExpirationDate"); CustomerSearch.partialMatchFields("creditCardNumber"); CustomerSearch.multipleValueField("ids"); CustomerSearch.rangeFields("createdAt"); return CustomerSearch; })(AdvancedSearch); exports.CustomerSearch = CustomerSearch;