Class: Increase::Models::CardDispute
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardDispute
- Defined in:
- lib/increase/models/card_dispute.rb
Overview
Defined Under Namespace
Modules: Network, Status, Type Classes: Loss, Visa, Win
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The amount of the dispute.
-
#card_id ⇒ String
The Card that the Card Dispute is associated with.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was created.
-
#disputed_transaction_id ⇒ String
The identifier of the Transaction that was disputed.
-
#id ⇒ String
The Card Dispute identifier.
-
#idempotency_key ⇒ String?
The idempotency key you chose for this object.
-
#loss ⇒ Increase::Models::CardDispute::Loss?
If the Card Dispute’s status is ‘lost`, this will contain details of the lost dispute.
-
#network ⇒ Symbol, Increase::Models::CardDispute::Network
The network that the Card Dispute is associated with.
-
#status ⇒ Symbol, Increase::Models::CardDispute::Status
The status of the Card Dispute.
-
#type ⇒ Symbol, Increase::Models::CardDispute::Type
A constant representing the object’s type.
-
#user_submission_required_by ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the user submission is required by.
-
#visa ⇒ Increase::Models::CardDispute::Visa?
Card Dispute information for card payments processed over Visa’s network.
-
#win ⇒ Increase::Models::CardDispute::Win?
If the Card Dispute’s status is ‘won`, this will contain details of the won dispute.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , amount: , card_id: , created_at: , disputed_transaction_id: , idempotency_key: , loss: , network: , status: , type: , user_submission_required_by: , visa: , win: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardDispute for more details.
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(id: , amount: , card_id: , created_at: , disputed_transaction_id: , idempotency_key: , loss: , network: , status: , type: , user_submission_required_by: , visa: , win: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardDispute for more details.
If unauthorized activity occurs on a card, you can create a Card Dispute and we’ll work with the card networks to return the funds if appropriate.
|
|
# File 'lib/increase/models/card_dispute.rb', line 96
|
Instance Attribute Details
#amount ⇒ Integer
The amount of the dispute.
17 |
# File 'lib/increase/models/card_dispute.rb', line 17 required :amount, Integer |
#card_id ⇒ String
The Card that the Card Dispute is associated with.
23 |
# File 'lib/increase/models/card_dispute.rb', line 23 required :card_id, String |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was created.
30 |
# File 'lib/increase/models/card_dispute.rb', line 30 required :created_at, Time |
#disputed_transaction_id ⇒ String
The identifier of the Transaction that was disputed.
36 |
# File 'lib/increase/models/card_dispute.rb', line 36 required :disputed_transaction_id, String |
#id ⇒ String
The Card Dispute identifier.
11 |
# File 'lib/increase/models/card_dispute.rb', line 11 required :id, String |
#idempotency_key ⇒ String?
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).
44 |
# File 'lib/increase/models/card_dispute.rb', line 44 required :idempotency_key, String, nil?: true |
#loss ⇒ Increase::Models::CardDispute::Loss?
If the Card Dispute’s status is ‘lost`, this will contain details of the lost dispute.
51 |
# File 'lib/increase/models/card_dispute.rb', line 51 required :loss, -> { Increase::CardDispute::Loss }, nil?: true |
#network ⇒ Symbol, Increase::Models::CardDispute::Network
The network that the Card Dispute is associated with.
57 |
# File 'lib/increase/models/card_dispute.rb', line 57 required :network, enum: -> { Increase::CardDispute::Network } |
#status ⇒ Symbol, Increase::Models::CardDispute::Status
The status of the Card Dispute.
63 |
# File 'lib/increase/models/card_dispute.rb', line 63 required :status, enum: -> { Increase::CardDispute::Status } |
#type ⇒ Symbol, Increase::Models::CardDispute::Type
A constant representing the object’s type. For this resource it will always be ‘card_dispute`.
70 |
# File 'lib/increase/models/card_dispute.rb', line 70 required :type, enum: -> { Increase::CardDispute::Type } |
#user_submission_required_by ⇒ Time?
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the user submission is required by. Present only if status is ‘user_submission_required` and a user submission is required by a certain time. Otherwise, this will be `nil`.
79 |
# File 'lib/increase/models/card_dispute.rb', line 79 required :user_submission_required_by, Time, nil?: true |
#visa ⇒ Increase::Models::CardDispute::Visa?
Card Dispute information 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`.
87 |
# File 'lib/increase/models/card_dispute.rb', line 87 required :visa, -> { Increase::CardDispute::Visa }, nil?: true |
#win ⇒ Increase::Models::CardDispute::Win?
If the Card Dispute’s status is ‘won`, this will contain details of the won dispute.
94 |
# File 'lib/increase/models/card_dispute.rb', line 94 required :win, -> { Increase::CardDispute::Win }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/card_dispute.rb', line 167
|