Class: Increase::Models::Transaction::Source::CardDisputeFinancial

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/transaction.rb

Overview

Defined Under Namespace

Modules: Network Classes: Visa

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(amount: , network: , transaction_id: , visa: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::Transaction::Source::CardDisputeFinancial for more details.

A Card Dispute Financial object. This field will be present in the JSON response if and only if ‘category` is equal to `card_dispute_financial`. Financial event related to a Card Dispute.

Parameters:



# File 'lib/increase/models/transaction.rb', line 1140


Instance Attribute Details

#amountInteger

The amount of the financial event.

Returns:

  • (Integer)


1117
# File 'lib/increase/models/transaction.rb', line 1117

required :amount, Integer

#networkSymbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network

The network that the Card Dispute is associated with.



1123
# File 'lib/increase/models/transaction.rb', line 1123

required :network, enum: -> { Increase::Transaction::Source::CardDisputeFinancial::Network }

#transaction_idString

The identifier of the Transaction that was created to credit or debit the disputed funds to or from your account.

Returns:

  • (String)


1130
# File 'lib/increase/models/transaction.rb', line 1130

required :transaction_id, String

#visaIncrease::Models::Transaction::Source::CardDisputeFinancial::Visa?

Information for events related to card dispute for card payments processed over Visa’s network. This field will be present in the JSON response if and only if ‘network` is equal to `visa`.



1138
# File 'lib/increase/models/transaction.rb', line 1138

required :visa, -> { Increase::Transaction::Source::CardDisputeFinancial::Visa }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/transaction.rb', line 1168