Class: CorePro::Models::ProgramSavings
- Defined in:
- lib/corepro/models/program_savings.rb
Instance Attribute Summary collapse
-
#balanceLimit ⇒ Object
Returns the value of attribute balanceLimit.
-
#category ⇒ Object
Returns the value of attribute category.
-
#interestRates ⇒ Object
Returns the value of attribute interestRates.
-
#isExternalWithdrawEnabled ⇒ Object
Returns the value of attribute isExternalWithdrawEnabled.
-
#isInterestEnabled ⇒ Object
Returns the value of attribute isInterestEnabled.
-
#isRecurringContributionEnabled ⇒ Object
Returns the value of attribute isRecurringContributionEnabled.
-
#perTransactionDepositLimit ⇒ Object
Returns the value of attribute perTransactionDepositLimit.
-
#perTransactionWithdrawLimit ⇒ Object
Returns the value of attribute perTransactionWithdrawLimit.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #from_json!(json, classDefs) ⇒ Object
-
#initialize ⇒ ProgramSavings
constructor
A new instance of ProgramSavings.
- #is_hash? ⇒ Boolean
Methods inherited from JsonBase
Constructor Details
#initialize ⇒ ProgramSavings
Returns a new instance of ProgramSavings.
20 21 22 23 |
# File 'lib/corepro/models/program_savings.rb', line 20 def initialize @interestRates = [] super end |
Instance Attribute Details
#balanceLimit ⇒ Object
Returns the value of attribute balanceLimit.
12 13 14 |
# File 'lib/corepro/models/program_savings.rb', line 12 def balanceLimit @balanceLimit end |
#category ⇒ Object
Returns the value of attribute category.
10 11 12 |
# File 'lib/corepro/models/program_savings.rb', line 10 def category @category end |
#interestRates ⇒ Object
Returns the value of attribute interestRates.
13 14 15 |
# File 'lib/corepro/models/program_savings.rb', line 13 def interestRates @interestRates end |
#isExternalWithdrawEnabled ⇒ Object
Returns the value of attribute isExternalWithdrawEnabled.
14 15 16 |
# File 'lib/corepro/models/program_savings.rb', line 14 def isExternalWithdrawEnabled @isExternalWithdrawEnabled end |
#isInterestEnabled ⇒ Object
Returns the value of attribute isInterestEnabled.
15 16 17 |
# File 'lib/corepro/models/program_savings.rb', line 15 def isInterestEnabled @isInterestEnabled end |
#isRecurringContributionEnabled ⇒ Object
Returns the value of attribute isRecurringContributionEnabled.
16 17 18 |
# File 'lib/corepro/models/program_savings.rb', line 16 def isRecurringContributionEnabled @isRecurringContributionEnabled end |
#perTransactionDepositLimit ⇒ Object
Returns the value of attribute perTransactionDepositLimit.
17 18 19 |
# File 'lib/corepro/models/program_savings.rb', line 17 def perTransactionDepositLimit @perTransactionDepositLimit end |
#perTransactionWithdrawLimit ⇒ Object
Returns the value of attribute perTransactionWithdrawLimit.
18 19 20 |
# File 'lib/corepro/models/program_savings.rb', line 18 def perTransactionWithdrawLimit @perTransactionWithdrawLimit end |
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/corepro/models/program_savings.rb', line 11 def type @type end |
Instance Method Details
#from_json!(json, classDefs) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/corepro/models/program_savings.rb', line 25 def from_json! json, classDefs classDefs = classDefs || {} classDefs['balanceLimit'] = CorePro::Models::ProgramLimit classDefs['interestRates'] = CorePro::Models::ProgramInterestRate classDefs['perTransactionDepositLimit'] = CorePro::Models::ProgramLimit classDefs['perTransactionWithdrawLimit'] = CorePro::Models::ProgramLimit super json, classDefs end |
#is_hash? ⇒ Boolean
7 8 9 |
# File 'lib/corepro/models/program_savings.rb', line 7 def is_hash? true end |