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.
-
#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.
-
#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.
34 35 36 37 38 39 40 |
# File 'lib/corepro/program.rb', line 34 def initialize super @checkingProducts = {} @eCodeProducts = {} @savingsProducts = {} @prepaidProducts = {} end |
Instance Attribute Details
#accountCountMax ⇒ Object
Returns the value of attribute accountCountMax.
28 29 30 |
# File 'lib/corepro/program.rb', line 28 def accountCountMax @accountCountMax end |
#checkingProducts ⇒ Object
Returns the value of attribute checkingProducts.
29 30 31 |
# File 'lib/corepro/program.rb', line 29 def checkingProducts @checkingProducts end |
#decimalCount ⇒ Object
Returns the value of attribute decimalCount.
24 25 26 |
# File 'lib/corepro/program.rb', line 24 def decimalCount @decimalCount end |
#eCodeProducts ⇒ Object
Returns the value of attribute eCodeProducts.
30 31 32 |
# File 'lib/corepro/program.rb', line 30 def eCodeProducts @eCodeProducts end |
#externalAccountCountMax ⇒ Object
Returns the value of attribute externalAccountCountMax.
27 28 29 |
# File 'lib/corepro/program.rb', line 27 def externalAccountCountMax @externalAccountCountMax end |
#filledDate ⇒ Object
Returns the value of attribute filledDate.
26 27 28 |
# File 'lib/corepro/program.rb', line 26 def filledDate @filledDate end |
#isInternalToInternalTransferEnabled ⇒ Object
Returns the value of attribute isInternalToInternalTransferEnabled.
23 24 25 |
# File 'lib/corepro/program.rb', line 23 def isInternalToInternalTransferEnabled @isInternalToInternalTransferEnabled end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/corepro/program.rb', line 13 def name @name end |
#perProgramDailyDepositLimit ⇒ Object
Returns the value of attribute perProgramDailyDepositLimit.
21 22 23 |
# File 'lib/corepro/program.rb', line 21 def perProgramDailyDepositLimit @perProgramDailyDepositLimit end |
#perProgramDailyWithdrawLimit ⇒ Object
Returns the value of attribute perProgramDailyWithdrawLimit.
18 19 20 |
# File 'lib/corepro/program.rb', line 18 def perProgramDailyWithdrawLimit @perProgramDailyWithdrawLimit end |
#perUserDailyDepositLimit ⇒ Object
Returns the value of attribute perUserDailyDepositLimit.
19 20 21 |
# File 'lib/corepro/program.rb', line 19 def perUserDailyDepositLimit @perUserDailyDepositLimit end |
#perUserDailyWithdrawLimit ⇒ Object
Returns the value of attribute perUserDailyWithdrawLimit.
16 17 18 |
# File 'lib/corepro/program.rb', line 16 def perUserDailyWithdrawLimit @perUserDailyWithdrawLimit end |
#perUserMonthlyDepositLimit ⇒ Object
Returns the value of attribute perUserMonthlyDepositLimit.
20 21 22 |
# File 'lib/corepro/program.rb', line 20 def perUserMonthlyDepositLimit @perUserMonthlyDepositLimit end |
#perUserMonthlyWithdrawLimit ⇒ Object
Returns the value of attribute perUserMonthlyWithdrawLimit.
17 18 19 |
# File 'lib/corepro/program.rb', line 17 def perUserMonthlyWithdrawLimit @perUserMonthlyWithdrawLimit end |
#prepaidProducts ⇒ Object
Returns the value of attribute prepaidProducts.
32 33 34 |
# File 'lib/corepro/program.rb', line 32 def prepaidProducts @prepaidProducts end |
#savingsProducts ⇒ Object
Returns the value of attribute savingsProducts.
31 32 33 |
# File 'lib/corepro/program.rb', line 31 def savingsProducts @savingsProducts end |
#timeZone ⇒ Object
Returns the value of attribute timeZone.
15 16 17 |
# File 'lib/corepro/program.rb', line 15 def timeZone @timeZone end |
#validAccountTypes ⇒ Object
Returns the value of attribute validAccountTypes.
25 26 27 |
# File 'lib/corepro/program.rb', line 25 def validAccountTypes @validAccountTypes end |
#verificationType ⇒ Object
Returns the value of attribute verificationType.
14 15 16 |
# File 'lib/corepro/program.rb', line 14 def verificationType @verificationType end |
#website ⇒ Object
Returns the value of attribute website.
22 23 24 |
# File 'lib/corepro/program.rb', line 22 def website @website end |
Class Method Details
.get(connection = nil, loggingObject = nil) ⇒ Object
60 61 62 |
# File 'lib/corepro/program.rb', line 60 def self.get(connection = nil, loggingObject = nil) CorePro::Utils::Requestor.get("/program/get", Program, connection, loggingObject) end |
Instance Method Details
#from_json!(json, classDefs) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/corepro/program.rb', line 42 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 super json, classDefs end |