Class: ReportFilter

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

Overview

Filtering object for reports

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

#after_dateObject

Integer

Only include resources with CreationDate

after this time (UNIX timestamp)



17
18
19
# File 'lib/mangopay/model/report_filter.rb', line 17

def after_date
  @after_date
end

#author_idObject

String

Only include resources with this author ID



57
58
59
# File 'lib/mangopay/model/report_filter.rb', line 57

def author_id
  @author_id
end

#before_dateObject

Integer

Only include resources with CreationDate

before this time (UNIX timestamp)



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

def before_date
  @before_date
end

#currencyObject

CurrencyIso

Only include wallets of this currency



70
71
72
# File 'lib/mangopay/model/report_filter.rb', line 70

def currency
  @currency
end

#max_balance_amountObject

Integer

The maximum balance of wallets to include



79
80
81
# File 'lib/mangopay/model/report_filter.rb', line 79

def max_balance_amount
  @max_balance_amount
end

#max_balance_currencyObject

CurrencyIso

The currency of maximum balance



82
83
84
# File 'lib/mangopay/model/report_filter.rb', line 82

def max_balance_currency
  @max_balance_currency
end

#max_debited_funds_amountObject

Integer

The maximum amount of debited funds



39
40
41
# File 'lib/mangopay/model/report_filter.rb', line 39

def max_debited_funds_amount
  @max_debited_funds_amount
end

#max_debited_funds_currencyObject

CurrencyIso

The currency of maximum debited funds



42
43
44
# File 'lib/mangopay/model/report_filter.rb', line 42

def max_debited_funds_currency
  @max_debited_funds_currency
end

#max_fees_amountObject

Integer

The maximum amount of fees



51
52
53
# File 'lib/mangopay/model/report_filter.rb', line 51

def max_fees_amount
  @max_fees_amount
end

#max_fees_currencyObject

CurrencyIso

The currency of maximum fees



54
55
56
# File 'lib/mangopay/model/report_filter.rb', line 54

def max_fees_currency
  @max_fees_currency
end

#min_balance_amountObject

Integer

The minimum balance of wallets to include



73
74
75
# File 'lib/mangopay/model/report_filter.rb', line 73

def min_balance_amount
  @min_balance_amount
end

#min_balance_currencyObject

CurrencyIso

The currency of minimum balance



76
77
78
# File 'lib/mangopay/model/report_filter.rb', line 76

def min_balance_currency
  @min_balance_currency
end

#min_debited_funds_amountObject

Integer

The minimum amount of debited funds



33
34
35
# File 'lib/mangopay/model/report_filter.rb', line 33

def min_debited_funds_amount
  @min_debited_funds_amount
end

#min_debited_funds_currencyObject

CurrencyIso

The currency of minimum debited funds



36
37
38
# File 'lib/mangopay/model/report_filter.rb', line 36

def min_debited_funds_currency
  @min_debited_funds_currency
end

#min_fees_amountObject

Integer

The minimum amount of fees



45
46
47
# File 'lib/mangopay/model/report_filter.rb', line 45

def min_fees_amount
  @min_fees_amount
end

#min_fees_currencyObject

CurrencyIso

The currency of minimum fees



48
49
50
# File 'lib/mangopay/model/report_filter.rb', line 48

def min_fees_currency
  @min_fees_currency
end

#natureObject

Array

Only include transactions of these TransactionNatures



30
31
32
# File 'lib/mangopay/model/report_filter.rb', line 30

def nature
  @nature
end

#owner_idObject

String

Only include wallets having owner with this ID



67
68
69
# File 'lib/mangopay/model/report_filter.rb', line 67

def owner_id
  @owner_id
end

#statusObject

Array

Only include transactions with these TransactionStatuses



27
28
29
# File 'lib/mangopay/model/report_filter.rb', line 27

def status
  @status
end

#typeObject

Array

Only include transactions of these TransactionTypes



24
25
26
# File 'lib/mangopay/model/report_filter.rb', line 24

def type
  @type
end

#wallet_idObject

String

Only include resources with this wallet ID



60
61
62
# File 'lib/mangopay/model/report_filter.rb', line 60

def wallet_id
  @wallet_id
end