Class: CorePro::Program
- Inherits:
-
Models::ModelBase
- Object
- Models::JsonBase
- Models::ModelBase
- CorePro::Program
- Defined in:
- lib/corepro/program.rb
Instance Attribute Summary collapse
-
#allowedAccountType ⇒ Object
Returns the value of attribute allowedAccountType.
-
#decimalCount ⇒ Object
Returns the value of attribute decimalCount.
-
#filledDate ⇒ Object
Returns the value of attribute filledDate.
-
#interestRates ⇒ Object
Returns the value of attribute interestRates.
-
#isInterestEnabled ⇒ Object
Returns the value of attribute isInterestEnabled.
-
#isInternalToInternalTransferEnabled ⇒ Object
Returns the value of attribute isInternalToInternalTransferEnabled.
-
#isRecurringContributionEnabled ⇒ Object
Returns the value of attribute isRecurringContributionEnabled.
-
#name ⇒ Object
Returns the value of attribute name.
-
#perProgramDailyDepositLimit ⇒ Object
Returns the value of attribute perProgramDailyDepositLimit.
-
#perProgramDailyWithdrawLimit ⇒ Object
Returns the value of attribute perProgramDailyWithdrawLimit.
-
#perTransactionDepositLimit ⇒ Object
Returns the value of attribute perTransactionDepositLimit.
-
#perTransactionWithdrawLimit ⇒ Object
Returns the value of attribute perTransactionWithdrawLimit.
-
#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.
-
#regDFeeAmount ⇒ Object
Returns the value of attribute regDFeeAmount.
-
#regDMonthlyTransactionWithdrawCountMax ⇒ Object
Returns the value of attribute regDMonthlyTransactionWithdrawCountMax.
-
#timeZone ⇒ Object
Returns the value of attribute timeZone.
-
#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.
31 32 33 34 |
# File 'lib/corepro/program.rb', line 31 def initialize super @interestRates = [] end |
Instance Attribute Details
#allowedAccountType ⇒ Object
Returns the value of attribute allowedAccountType.
26 27 28 |
# File 'lib/corepro/program.rb', line 26 def allowedAccountType @allowedAccountType end |
#decimalCount ⇒ Object
Returns the value of attribute decimalCount.
24 25 26 |
# File 'lib/corepro/program.rb', line 24 def decimalCount @decimalCount end |
#filledDate ⇒ Object
Returns the value of attribute filledDate.
29 30 31 |
# File 'lib/corepro/program.rb', line 29 def filledDate @filledDate end |
#interestRates ⇒ Object
Returns the value of attribute interestRates.
28 29 30 |
# File 'lib/corepro/program.rb', line 28 def interestRates @interestRates end |
#isInterestEnabled ⇒ Object
Returns the value of attribute isInterestEnabled.
25 26 27 |
# File 'lib/corepro/program.rb', line 25 def isInterestEnabled @isInterestEnabled end |
#isInternalToInternalTransferEnabled ⇒ Object
Returns the value of attribute isInternalToInternalTransferEnabled.
23 24 25 |
# File 'lib/corepro/program.rb', line 23 def isInternalToInternalTransferEnabled @isInternalToInternalTransferEnabled end |
#isRecurringContributionEnabled ⇒ Object
Returns the value of attribute isRecurringContributionEnabled.
27 28 29 |
# File 'lib/corepro/program.rb', line 27 def isRecurringContributionEnabled @isRecurringContributionEnabled end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/corepro/program.rb', line 9 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.
17 18 19 |
# File 'lib/corepro/program.rb', line 17 def perProgramDailyWithdrawLimit @perProgramDailyWithdrawLimit end |
#perTransactionDepositLimit ⇒ Object
Returns the value of attribute perTransactionDepositLimit.
18 19 20 |
# File 'lib/corepro/program.rb', line 18 def perTransactionDepositLimit @perTransactionDepositLimit end |
#perTransactionWithdrawLimit ⇒ Object
Returns the value of attribute perTransactionWithdrawLimit.
14 15 16 |
# File 'lib/corepro/program.rb', line 14 def perTransactionWithdrawLimit @perTransactionWithdrawLimit 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.
15 16 17 |
# File 'lib/corepro/program.rb', line 15 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.
16 17 18 |
# File 'lib/corepro/program.rb', line 16 def perUserMonthlyWithdrawLimit @perUserMonthlyWithdrawLimit end |
#regDFeeAmount ⇒ Object
Returns the value of attribute regDFeeAmount.
12 13 14 |
# File 'lib/corepro/program.rb', line 12 def regDFeeAmount @regDFeeAmount end |
#regDMonthlyTransactionWithdrawCountMax ⇒ Object
Returns the value of attribute regDMonthlyTransactionWithdrawCountMax.
13 14 15 |
# File 'lib/corepro/program.rb', line 13 def regDMonthlyTransactionWithdrawCountMax @regDMonthlyTransactionWithdrawCountMax end |
#timeZone ⇒ Object
Returns the value of attribute timeZone.
11 12 13 |
# File 'lib/corepro/program.rb', line 11 def timeZone @timeZone end |
#verificationType ⇒ Object
Returns the value of attribute verificationType.
10 11 12 |
# File 'lib/corepro/program.rb', line 10 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
52 53 54 |
# File 'lib/corepro/program.rb', line 52 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
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/corepro/program.rb', line 36 def from_json! json, classDefs classDefs = classDefs || {} classDefs['interestRates'] = CorePro::Models::ProgramInterestRate classDefs['perTransactionWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perUserDailyWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perUserMonthlyWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perProgramDailyWithdrawLimit'] = CorePro::Models::ProgramLimit classDefs['perTransactionDepositLimit'] = CorePro::Models::ProgramLimit classDefs['perUserDailyDepositLimit'] = CorePro::Models::ProgramLimit classDefs['perUserMonthlyDepositLimit'] = CorePro::Models::ProgramLimit classDefs['perProgramDailyDepositLimit'] = CorePro::Models::ProgramLimit super json, classDefs end |