Class: Increase::Models::CardDispute
- Defined in:
- lib/increase/models/card_dispute.rb
Defined Under Namespace
Classes: Acceptance, Loss, Rejection, Win
Instance Attribute Summary collapse
-
#acceptance ⇒ Increase::Models::CardDispute::Acceptance
If the Card Dispute's status is
accepted
, this will contain details of the successful dispute. -
#created_at ⇒ String
The ISO 8601 date and time at which the Card Dispute was created.
-
#disputed_transaction_id ⇒ String
The identifier of the Transaction that was disputed.
-
#explanation ⇒ String
Why you disputed the Transaction in question.
-
#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. -
#rejection ⇒ Increase::Models::CardDispute::Rejection
If the Card Dispute's status is
rejected
, this will contain details of the unsuccessful dispute. -
#status ⇒ Symbol
The results of the Dispute investigation.
-
#type ⇒ Symbol
A constant representing the object's type.
-
#win ⇒ Increase::Models::CardDispute::Win
If the Card Dispute's status is
won
, this will contain details of the won dispute.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#acceptance ⇒ Increase::Models::CardDispute::Acceptance
If the Card Dispute's status is accepted
, this will contain details of the successful dispute.
14 |
# File 'lib/increase/models/card_dispute.rb', line 14 required :acceptance, -> { Increase::Models::CardDispute::Acceptance } |
#created_at ⇒ String
The ISO 8601 date and time at which the Card Dispute was created.
19 |
# File 'lib/increase/models/card_dispute.rb', line 19 required :created_at, String |
#disputed_transaction_id ⇒ String
The identifier of the Transaction that was disputed.
24 |
# File 'lib/increase/models/card_dispute.rb', line 24 required :disputed_transaction_id, String |
#explanation ⇒ String
Why you disputed the Transaction in question.
29 |
# File 'lib/increase/models/card_dispute.rb', line 29 required :explanation, String |
#id ⇒ String
The Card Dispute identifier.
9 |
# File 'lib/increase/models/card_dispute.rb', line 9 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.
34 |
# File 'lib/increase/models/card_dispute.rb', line 34 required :idempotency_key, String |
#loss ⇒ Increase::Models::CardDispute::Loss
If the Card Dispute's status is lost
, this will contain details of the lost dispute.
39 |
# File 'lib/increase/models/card_dispute.rb', line 39 required :loss, -> { Increase::Models::CardDispute::Loss } |
#rejection ⇒ Increase::Models::CardDispute::Rejection
If the Card Dispute's status is rejected
, this will contain details of the unsuccessful dispute.
44 |
# File 'lib/increase/models/card_dispute.rb', line 44 required :rejection, -> { Increase::Models::CardDispute::Rejection } |
#status ⇒ Symbol
The results of the Dispute investigation.
49 |
# File 'lib/increase/models/card_dispute.rb', line 49 required :status, Increase::Enum.new(:pending_reviewing, :accepted, :rejected, :lost, :won) |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be card_dispute
.
54 |
# File 'lib/increase/models/card_dispute.rb', line 54 required :type, Increase::Enum.new(:card_dispute) |
#win ⇒ Increase::Models::CardDispute::Win
If the Card Dispute's status is won
, this will contain details of the won dispute.
59 |
# File 'lib/increase/models/card_dispute.rb', line 59 required :win, -> { Increase::Models::CardDispute::Win } |