Sha256: 246ed686b10e8b9a6ed16938fb615b3d249a58949e5e46a1484d0ce205628503

Contents?: true

Size: 681 Bytes

Versions: 20

Compression:

Stored size: 681 Bytes

Contents

module Braintree
  class DisputeSearch < AdvancedSearch # :nodoc:
    text_fields(
      :case_number,
      :customer_id,
      :id,
      :reference_number,
      :transaction_id
    )

    multiple_value_field :kind, :allows => Dispute::Kind::All
    multiple_value_field :merchant_account_id
    multiple_value_field :reason, :allows => Dispute::Reason::All
    multiple_value_field :reason_code
    multiple_value_field :status, :allows => Dispute::Status::All
    multiple_value_field :transaction_source

    range_fields(
      :amount_disputed,
      :amount_won,
      :disbursement_date,
      :effective_date,
      :received_date,
      :reply_by_date
    )
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
braintree-3.3.0 lib/braintree/dispute_search.rb
braintree-3.2.0 lib/braintree/dispute_search.rb
braintree-3.1.0 lib/braintree/dispute_search.rb
braintree-3.0.1 lib/braintree/dispute_search.rb
braintree-2.104.1 lib/braintree/dispute_search.rb
braintree-2.104.0 lib/braintree/dispute_search.rb
braintree-2.103.0 lib/braintree/dispute_search.rb
braintree-2.102.0 lib/braintree/dispute_search.rb
braintree-2.101.0 lib/braintree/dispute_search.rb
braintree-2.100.0 lib/braintree/dispute_search.rb
braintree-2.99.0 lib/braintree/dispute_search.rb
braintree-2.98.0 lib/braintree/dispute_search.rb
braintree-2.97.0 lib/braintree/dispute_search.rb
braintree-2.96.0 lib/braintree/dispute_search.rb
braintree-2.95.0 lib/braintree/dispute_search.rb
braintree-2.94.0 lib/braintree/dispute_search.rb
braintree-2.93.0 lib/braintree/dispute_search.rb
braintree-2.92.0 lib/braintree/dispute_search.rb
braintree-2.91.0 lib/braintree/dispute_search.rb
braintree-2.90.0 lib/braintree/dispute_search.rb