Sha256: e02ec1c10a0863cbabd2b9fe2874ca96a7250ab7927f7c6a42578f0990a84acb

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

Contents

module Braintree
  class DisputeSearch < AdvancedSearch # :nodoc:
    text_fields(
      :case_number,
      :customer_id,
      :id,
      :reference_number,
      :transaction_id,
    )
    # NEXT_MAJOR_VERSION Remove this attribute
    # DEPRECATED The chargeback_protection_level attribute is deprecated in favor of protection_level
    multiple_value_field :chargeback_protection_level, :allows => Dispute::ChargebackProtectionLevel::All
    multiple_value_field :protection_level, :allows => Dispute::ProtectionLevel::All
    multiple_value_field :kind, :allows => Dispute::Kind::All
    multiple_value_field :merchant_account_id
    multiple_value_field :pre_dispute_program, :allows => Dispute::PreDisputeProgram::All
    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

6 entries across 6 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/dispute_search.rb
braintree-4.14.0 lib/braintree/dispute_search.rb
braintree-4.13.0 lib/braintree/dispute_search.rb
braintree-4.12.0 lib/braintree/dispute_search.rb
braintree-4.11.0 lib/braintree/dispute_search.rb
braintree-4.10.0 lib/braintree/dispute_search.rb