Sha256: 82d72731542681c24680e1bf17e71a8cd1a41b9dce436f4d8ed1265a786d24fc

Contents?: true

Size: 789 Bytes

Versions: 9

Compression:

Stored size: 789 Bytes

Contents

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

    multiple_value_field :chargeback_protection_level, :allows => Dispute::ChargebackProtectionLevel::All
    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

9 entries across 9 versions & 1 rubygems

Version Path
braintree-4.8.0 lib/braintree/dispute_search.rb
braintree-4.7.0 lib/braintree/dispute_search.rb
braintree-4.6.0 lib/braintree/dispute_search.rb
braintree-4.5.0 lib/braintree/dispute_search.rb
braintree-4.4.0 lib/braintree/dispute_search.rb
braintree-4.3.0 lib/braintree/dispute_search.rb
braintree-4.2.0 lib/braintree/dispute_search.rb
braintree-4.1.0 lib/braintree/dispute_search.rb
braintree-4.0.0 lib/braintree/dispute_search.rb