Class: MangoModel::Refund

Inherits:
Transaction show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/entity/refund.rb

Overview

Refund entity

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Attributes inherited from Transaction

#author_id, #credited_funds, #credited_user_id, #credited_wallet_id, #debited_funds, #debited_wallet_id, #execution_date, #fees, #nature, #result_code, #result_message, #status, #type

Attributes inherited from EntityBase

#creation_date, #id, #tag

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Methods included from NonInstantiable

#initialize

Instance Attribute Details

#initial_transaction_idObject

String

The initial transaction’s ID



10
11
12
# File 'lib/mangopay/model/entity/refund.rb', line 10

def initial_transaction_id
  @initial_transaction_id
end

#initial_transaction_typeObject

TransactionType

The initial transaction’s type



13
14
15
# File 'lib/mangopay/model/entity/refund.rb', line 13

def initial_transaction_type
  @initial_transaction_type
end

#refund_reasonObject

RefundReason

Info about the reason for refund



16
17
18
# File 'lib/mangopay/model/entity/refund.rb', line 16

def refund_reason
  @refund_reason
end