Class: CorePro::Program
- Inherits:
-
Models::ModelBase
- Object
- Models::JsonBase
- Models::ModelBase
- CorePro::Program
- Defined in:
- lib/corepro/program.rb
Instance Attribute Summary collapse
-
#accountCountMax ⇒ Object
Returns the value of attribute accountCountMax.
-
#accounts ⇒ Object
Returns the value of attribute accounts.
-
#checkingProducts ⇒ Object
Returns the value of attribute checkingProducts.
-
#decimalCount ⇒ Object
Returns the value of attribute decimalCount.
-
#eCodeProducts ⇒ Object
Returns the value of attribute eCodeProducts.
-
#externalAccountCountMax ⇒ Object
Returns the value of attribute externalAccountCountMax.
-
#externalAccounts ⇒ Object
Returns the value of attribute externalAccounts.
-
#filledDate ⇒ Object
Returns the value of attribute filledDate.
-
#isInternalToInternalTransferEnabled ⇒ Object
Returns the value of attribute isInternalToInternalTransferEnabled.
-
#name ⇒ Object
Returns the value of attribute name.
-
#perProgramDailyDepositLimit ⇒ Object
Returns the value of attribute perProgramDailyDepositLimit.
-
#perProgramDailyWithdrawLimit ⇒ Object
Returns the value of attribute perProgramDailyWithdrawLimit.
-
#perUserDailyDepositLimit ⇒ Object
Returns the value of attribute perUserDailyDepositLimit.
-
#perUserDailyWithdrawLimit ⇒ Object
Returns the value of attribute perUserDailyWithdrawLimit.
-
#perUserMonthlyDepositLimit ⇒ Object
Returns the value of attribute perUserMonthlyDepositLimit.
-
#perUserMonthlyWithdrawLimit ⇒ Object
Returns the value of attribute perUserMonthlyWithdrawLimit.
-
#prepaidProducts ⇒ Object
Returns the value of attribute prepaidProducts.
-
#savingsProducts ⇒ Object
Returns the value of attribute savingsProducts.
-
#timeZone ⇒ Object
Returns the value of attribute timeZone.
-
#validAccountTypes ⇒ Object
Returns the value of attribute validAccountTypes.
-
#verificationType ⇒ Object
Returns the value of attribute verificationType.
-
#website ⇒ Object
Returns the value of attribute website.
Attributes inherited from Models::ModelBase
Class Method Summary collapse
Instance Method Summary collapse
- #from_json!(json, classDefs) ⇒ Object
-
#initialize ⇒ Program
constructor
A new instance of Program.
Methods inherited from Models::ModelBase
Methods inherited from Models::JsonBase
Constructor Details
#initialize ⇒ Program
Returns a new instance of Program.
38 39 40 41 42 43 44 45 46 |
# File 'lib/corepro/program.rb', line 38 def initialize super @checkingProducts = {} @eCodeProducts = {} @savingsProducts = {} @prepaidProducts = {} @accounts = {} @externalAccounts = {} end |
Instance Attribute Details
#accountCountMax ⇒ Object
Returns the value of attribute accountCountMax.
30 31 32 |
# File 'lib/corepro/program.rb', line 30 def accountCountMax @accountCountMax end |
#accounts ⇒ Object
Returns the value of attribute accounts.
35 36 37 |
# File 'lib/corepro/program.rb', line 35 def accounts @accounts end |
#checkingProducts ⇒ Object
Returns the value of attribute checkingProducts.
31 32 33 |
# File 'lib/corepro/program.rb', line 31 def checkingProducts @checkingProducts end |
#decimalCount ⇒ Object
Returns the value of attribute decimalCount.
26 27 28 |
# File 'lib/corepro/program.rb', line 26 def decimalCount @decimalCount end |
#eCodeProducts ⇒ Object
Returns the value of attribute eCodeProducts.
32 33 34 |
# File 'lib/corepro/program.rb', line 32 def eCodeProducts @eCodeProducts end |
#externalAccountCountMax ⇒ Object
Returns the value of attribute externalAccountCountMax.
29 30 31 |
# File 'lib/corepro/program.rb', line 29 def externalAccountCountMax @externalAccountCountMax end |
#externalAccounts ⇒ Object
Returns the value of attribute externalAccounts.
36 37 38 |
# File 'lib/corepro/program.rb', line 36 def externalAccounts @externalAccounts end |
#filledDate ⇒ Object
Returns the value of attribute filledDate.
28 29 30 |
# File 'lib/corepro/program.rb', line 28 def filledDate @filledDate end |
#isInternalToInternalTransferEnabled ⇒ Object
Returns the value of attribute isInternalToInternalTransferEnabled.
25 26 27 |
# File 'lib/corepro/program.rb', line 25 def isInternalToInternalTransferEnabled @isInternalToInternalTransferEnabled end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/corepro/program.rb', line 15 def name @name end |
#perProgramDailyDepositLimit ⇒ Object
Returns the value of attribute perProgramDailyDepositLimit.
23 24 25 |
# File 'lib/corepro/program.rb', line 23 def perProgramDailyDepositLimit @perProgramDailyDepositLimit end |
#perProgramDailyWithdrawLimit ⇒ Object
Returns the value of attribute perProgramDailyWithdrawLimit.
20 21 22 |
# File 'lib/corepro/program.rb', line 20 def perProgramDailyWithdrawLimit @perProgramDailyWithdrawLimit end |
#perUserDailyDepositLimit ⇒ Object
Returns the value of attribute perUserDailyDepositLimit.
21 22 23 |
# File 'lib/corepro/program.rb', line 21 def perUserDailyDepositLimit @perUserDailyDepositLimit end |
#perUserDailyWithdrawLimit ⇒ Object
Returns the value of attribute perUserDailyWithdrawLimit.
18 19 20 |
# File 'lib/corepro/program.rb', line 18 def perUserDailyWithdrawLimit @perUserDailyWithdrawLimit end |
#perUserMonthlyDepositLimit ⇒ Object
Returns the value of attribute perUserMonthlyDepositLimit.
22 23 24 |
# File 'lib/corepro/program.rb', line 22 def perUserMonthlyDepositLimit @perUserMonthlyDepositLimit end |
#perUserMonthlyWithdrawLimit ⇒ Object
Returns the value of attribute perUserMonthlyWithdrawLimit.
19 20 21 |
# File 'lib/corepro/program.rb', line 19 def perUserMonthlyWithdrawLimit @perUserMonthlyWithdrawLimit end |
#prepaidProducts ⇒ Object
Returns the value of attribute prepaidProducts.
34 35 36 |
# File 'lib/corepro/program.rb', line 34 def prepaidProducts @prepaidProducts end |
#savingsProducts ⇒ Object
Returns the value of attribute savingsProducts.
33 34 35 |
# File 'lib/corepro/program.rb', line 33 def savingsProducts @savingsProducts end |
#timeZone ⇒ Object
Returns the value of attribute timeZone.
17 18 19 |
# File 'lib/corepro/program.rb', line 17 def timeZone @timeZone end |
#validAccountTypes ⇒ Object
Returns the value of attribute validAccountTypes.
27 28 29 |
# File 'lib/corepro/program.rb', line 27 def validAccountTypes @validAccountTypes end |
#verificationType ⇒ Object
Returns the value of attribute verificationType.
16 17 18 |
# File 'lib/corepro/program.rb', line 16 def verificationType @verificationType end |
#website ⇒ Object
Returns the value of attribute website.
24 25 26 |
# File 'lib/corepro/program.rb', line 24 def website @website end |
Class Method Details
Instance Method Details
#from_json!(json, classDefs) ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/corepro/program.rb', line 48 def from_json! json, classDefs classDefs = classDefs || {} classDefs['perUserDailyWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perUserMonthlyWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perProgramDailyWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perUserDailyDepositLimit'] = CorePro::Models::ProgramLimit classDefs['perUserMonthlyDepositLimit'] = CorePro::Models::ProgramLimit classDefs['perProgramDailyDepositLimit'] = CorePro::Models::ProgramLimit classDefs['checkingProducts'] = CorePro::Models::ProgramChecking classDefs['eCodeProducts'] = CorePro::Models::ProgramECode classDefs['savingsProducts'] = CorePro::Models::ProgramSavings classDefs['prepaidProducts'] = CorePro::Models::ProgramPrepaid classDefs['accounts'] = CorePro::Models::ProgramAccount classDefs['externalAccounts'] = CorePro::Models::ProgramExternalAccount super json, classDefs end |