Sha256: 7f31a883151aef3352f2001a7bad366b1423aec2a9ab7f2521b23b77f09e016a
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
require_relative 'json_base' require_relative 'program_interest_rate' require_relative 'program_limit' module CorePro module Models class ProgramSavings < JsonBase def is_hash? true end attr_accessor :category attr_accessor :type attr_accessor :balanceLimit attr_accessor :interestRates attr_accessor :isExternalWithdrawEnabled attr_accessor :isInterestEnabled attr_accessor :isRecurringContributionEnabled attr_accessor :perTransactionDepositLimit attr_accessor :perTransactionWithdrawLimit def initialize @interestRates = [] super end 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
corepro-1.0.1 | lib/corepro/models/program_savings.rb |
corepro-1.0.0 | lib/corepro/models/program_savings.rb |