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