Sha256: 19f6ea5f8046da4cfdb078d2293af613874ee9e58bb81d381c0b3f6821b604b6
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
require_relative 'json_base' require_relative 'program_interest_rate' require_relative 'program_limit' module CorePro module Models class ProgramPrepaid < JsonBase def is_hash? true end attr_accessor :category attr_accessor :type attr_accessor :balanceLimit attr_accessor :interestRates attr_accessor :isImmediateLoadFromLinkedAccountEnabled attr_accessor :isExternalWithdrawEnabled attr_accessor :isInterestEnabled attr_accessor :isRecurringContributionEnabled attr_accessor :perTransactionDepositLimit attr_accessor :perTransactionWithdrawLimit def initialize super @interestRates = [] 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_prepaid.rb |
corepro-1.0.0 | lib/corepro/models/program_prepaid.rb |