Class: MangoModel::EMoney

Inherits:
Object
  • Object
show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/e_money.rb

Overview

Represents a user’s e-money.

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Instance Attribute Details

#credited_e_moneyObject

Money

The amount of money that has been credited to its owner



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

def credited_e_money
  @credited_e_money
end

#debited_e_moneyObject

Money

The amount of money that has been debited from its owner



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

def debited_e_money
  @debited_e_money
end

#user_idObject

String

Its owner’s ID



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

def user_id
  @user_id
end