Class: Increase::Models::CardDisputeCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/card_dispute_create_params.rb

Overview

Defined Under Namespace

Modules: Network Classes: AttachmentFile, Visa

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(file_id: ) ⇒ Object

Some parameter documentations has been truncated, see AttachmentFile for more details.

Parameters:

  • file_id (String) (defaults to: )

    The ID of the file to be attached. The file must have a ‘purpose` of `card_dispu



# File 'lib/increase/models/card_dispute_create_params.rb', line 47


Instance Attribute Details

#amountInteger?

The monetary amount of the part of the transaction that is being disputed. This is optional and will default to the full amount of the transaction if not provided. If provided, the amount must be less than or equal to the amount of the transaction.

Returns:

  • (Integer, nil)


31
# File 'lib/increase/models/card_dispute_create_params.rb', line 31

optional :amount, Integer

#attachment_filesArray<Increase::Models::CardDisputeCreateParams::AttachmentFile>?

The files to be attached to the initial dispute submission.



37
38
# File 'lib/increase/models/card_dispute_create_params.rb', line 37

optional :attachment_files,
-> { Increase::Internal::Type::ArrayOf[Increase::CardDisputeCreateParams::AttachmentFile] }

#disputed_transaction_idString

The Transaction you wish to dispute. This Transaction must have a ‘source_type` of `card_settlement`.

Returns:

  • (String)


15
# File 'lib/increase/models/card_dispute_create_params.rb', line 15

required :disputed_transaction_id, String

#networkSymbol, Increase::Models::CardDisputeCreateParams::Network

The network of the disputed transaction. Details specific to the network are required under the sub-object with the same identifier as the network.



22
# File 'lib/increase/models/card_dispute_create_params.rb', line 22

required :network, enum: -> { Increase::CardDisputeCreateParams::Network }

#visaIncrease::Models::CardDisputeCreateParams::Visa?

The Visa-specific parameters for the dispute. Required if and only if ‘network` is `visa`.



45
# File 'lib/increase/models/card_dispute_create_params.rb', line 45

optional :visa, -> { Increase::CardDisputeCreateParams::Visa }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_dispute_create_params.rb', line 71