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