Class: Increase::Models::CardDisputeCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardDisputeCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/increase/models/card_dispute_create_params.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
The monetary amount of the part of the transaction that is being disputed.
-
#disputed_transaction_id ⇒ String
The Transaction you wish to dispute.
-
#explanation ⇒ String
Why you are disputing this Transaction.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(disputed_transaction_id: , explanation: , amount: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardDisputeCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(disputed_transaction_id: , explanation: , amount: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardDisputeCreateParams for more details.
|
|
# File 'lib/increase/models/card_dispute_create_params.rb', line 32
|
Instance Attribute Details
#amount ⇒ Integer?
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.
30 |
# File 'lib/increase/models/card_dispute_create_params.rb', line 30 optional :amount, Integer |
#disputed_transaction_id ⇒ String
The Transaction you wish to dispute. This Transaction must have a ‘source_type` of `card_settlement`.
15 |
# File 'lib/increase/models/card_dispute_create_params.rb', line 15 required :disputed_transaction_id, String |
#explanation ⇒ String
Why you are disputing this Transaction.
21 |
# File 'lib/increase/models/card_dispute_create_params.rb', line 21 required :explanation, String |