Sha256: e49a400302af146620694413c905b395a84a5dd3bfd28c541e6ff268dd718653

Contents?: true

Size: 724 Bytes

Versions: 8

Compression:

Stored size: 724 Bytes

Contents

module Braintree
  class CustomerSearch < AdvancedSearch
    text_fields(
      :address_country_name,
      :address_extended_address,
      :address_first_name,
      :address_last_name,
      :address_locality,
      :address_postal_code,
      :address_region,
      :address_street_address,
      :cardholder_name,
      :company,
      :email,
      :fax,
      :first_name,
      :id,
      :last_name,
      :payment_method_token,
      :paypal_account_email,
      :phone,
      :website,
    )

    is_fields :payment_method_token_with_duplicates

    equality_fields :credit_card_expiration_date

    partial_match_fields :credit_card_number

    multiple_value_field :ids

    range_fields :created_at
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/customer_search.rb
braintree-4.22.0 lib/braintree/customer_search.rb
braintree-4.21.0 lib/braintree/customer_search.rb
braintree-4.20.0 lib/braintree/customer_search.rb
braintree-4.19.0 lib/braintree/customer_search.rb
braintree-4.18.0 lib/braintree/customer_search.rb
braintree-4.17.0 lib/braintree/customer_search.rb
braintree-4.16.0 lib/braintree/customer_search.rb