Class: MangoModel::Dispute
- Inherits:
-
EntityBase
- Object
- EntityBase
- MangoModel::Dispute
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/dispute.rb
Overview
Dispute entity The Dispute object is used when a user requests a chargeback of a transaction to their bank. In turn, their bank withdraws the funds from MangoPay, and MangoPay will then repudiate the required funds from your client credit wallet.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#contest_deadline_date ⇒ Object
- Integer
-
The deadline by which the dispute must be contested, if necessary (UNIX timestamp).
-
#contested_funds ⇒ Object
- Money
-
The funds wished to be contested.
-
#dispute_reason ⇒ Object
- DisputeReason
-
Its reason.
-
#dispute_type ⇒ Object
- DisputeType
-
Its type.
-
#disputed_funds ⇒ Object
- Money
-
The funds that were disputed.
-
#initial_transaction_id ⇒ Object
- String
-
The initial transaction’s ID.
-
#initial_transaction_type ⇒ Object
- TransactionType
-
The initial transaction’s type.
-
#repudiation_id ⇒ Object
- String
-
ID of the associated repudiation transaction.
-
#result_code ⇒ Object
- String
-
Its result code.
-
#result_message ⇒ Object
{String] Explanation of its result.
-
#status ⇒ Object
- DisputeStatus
-
Its status.
-
#status_message ⇒ Object
- String
-
Explanation of the status.
Attributes inherited from EntityBase
Method Summary
Methods included from MangoPay::Jsonifier
Methods included from NonInstantiable
Instance Attribute Details
#contest_deadline_date ⇒ Object
- Integer
-
The deadline by which the dispute must be contested,
if necessary (UNIX timestamp)
45 46 47 |
# File 'lib/mangopay/model/entity/dispute.rb', line 45 def contest_deadline_date @contest_deadline_date end |
#contested_funds ⇒ Object
- Money
-
The funds wished to be contested
41 42 43 |
# File 'lib/mangopay/model/entity/dispute.rb', line 41 def contested_funds @contested_funds end |
#dispute_reason ⇒ Object
- DisputeReason
-
Its reason
29 30 31 |
# File 'lib/mangopay/model/entity/dispute.rb', line 29 def dispute_reason @dispute_reason end |
#dispute_type ⇒ Object
- DisputeType
-
Its type
14 15 16 |
# File 'lib/mangopay/model/entity/dispute.rb', line 14 def dispute_type @dispute_type end |
#disputed_funds ⇒ Object
- Money
-
The funds that were disputed
38 39 40 |
# File 'lib/mangopay/model/entity/dispute.rb', line 38 def disputed_funds @disputed_funds end |
#initial_transaction_id ⇒ Object
- String
-
The initial transaction’s ID
17 18 19 |
# File 'lib/mangopay/model/entity/dispute.rb', line 17 def initial_transaction_id @initial_transaction_id end |
#initial_transaction_type ⇒ Object
- TransactionType
-
The initial transaction’s type
20 21 22 |
# File 'lib/mangopay/model/entity/dispute.rb', line 20 def initial_transaction_type @initial_transaction_type end |
#repudiation_id ⇒ Object
- String
-
ID of the associated repudiation transaction
48 49 50 |
# File 'lib/mangopay/model/entity/dispute.rb', line 48 def repudiation_id @repudiation_id end |
#result_code ⇒ Object
- String
-
Its result code
23 24 25 |
# File 'lib/mangopay/model/entity/dispute.rb', line 23 def result_code @result_code end |
#result_message ⇒ Object
{String] Explanation of its result
26 27 28 |
# File 'lib/mangopay/model/entity/dispute.rb', line 26 def @result_message end |
#status ⇒ Object
- DisputeStatus
-
Its status
32 33 34 |
# File 'lib/mangopay/model/entity/dispute.rb', line 32 def status @status end |
#status_message ⇒ Object
- String
-
Explanation of the status
35 36 37 |
# File 'lib/mangopay/model/entity/dispute.rb', line 35 def @status_message end |